Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 26th, 2008, 01:26 AM
Authorized User
Join Date: Feb 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Group box control Tab Focus problem

I am having 3 buttons and Group box control having only one child Grid control...3 buttons n groupbox are child controls of VIEW

I am having tab index like Groupbox(0),Grid (child contorl) as(0),
then for 3 buttons like 1,2,3....

But I have written like

 private void DataGrid_KeyDown(object sender, KeyEventArgs e)
 if (e.KeyCode == Keys.Tab)

                    groupbox.SelectNextControl(DataGrid, true, true, false, false);
                    e.Handled = true;
But this is not working.....

Please help me out of this problem...

Thanx in advance for your replies....

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable a tab on a tab control. dbradley VB.NET 6 April 14th, 2011 10:04 AM
Can't move focus to control <control scptech Access VBA 8 October 26th, 2007 12:16 PM
Problem with Newsletter Control Box dazy BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 July 4th, 2007 05:27 PM
Problem Setting Tab Control selectedIndex Ron Howerton VB.NET 2002/2003 Basics 0 July 13th, 2004 03:31 PM
Cross-tab group options - change dynamically Lines Crystal Reports 0 May 26th, 2004 10:57 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.