Click here to Skip to main content
15,922,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in a windows form there are 3 groupbox. and every groupbox holds some textbox controls. first, user enter the data in first groupbox controls, then he wants to skip the second groupbox. so mouse pointer will blink on the 3 rd groupbox controls. how? anybody can help me? thanks in advance...
Posted
Comments
BillWoodruff 12-Mar-14 11:23am    
"then he wants to skip the second groupbox" The question here is: what do you mean by "skip;" what action will the user take that your Application will interpret as a command to move the focus to a Control in the third GroupBox ? Using the Tab Key ? Pressing a Button ? ... what ?

1 solution

Well, here you need to maintain the Tab Order according your requirement.

Control.TabIndex property gets or sets the tab order of the control within its container.
See the MSDN[^].

Give tab order to the first groupbox as 1, and 2 to the third groupbox. Problem Solved :)

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900