Click here to Skip to main content
15,887,776 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello,

I have few textboxes and combboxes in the windows forms,i set tab index according the positions,sometimes the fields will be disable as per requirements as i put checkboxes to enable and disable the controls,I want to move the cursor based what controls are enabled.

lets say Text1 Enabled ,text2 disabled text3 enabled combobox1 enabled

so i need to move cursor text1,text3,combobox1 (as text2 is disabled)

any help

What I have tried:

Created controls and trying to move cursor based on enabled or disabled
Posted
Updated 28-May-17 22:53pm

1 solution

Set tab-order for all controls as all were enabled... Those are disabled will be skipped...
Changing the Tab Order of Controls[^]
 
Share this answer
 
Comments
Maciej Los 29-May-17 5:27am    
5ed!
Kornfeld Eliyahu Peter 29-May-17 5:28am    
Thank you...

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