Set Focus problem
-
Hi! I have one buttons and two text boxes on a same page at two places, that means 4 text boxes and two buttons. My problem is to set focus on relative button or set tab index to buttons. When i press enter after enter both value in text boxes my focus gone to the another button which comes first in left hand side of the page. How can i set foucus to the desired button , so that when i came out from text box it automatically should go to the its next button in stead of going to another buttons, which are assosiated with other text boxes. I hope you great people can understand this problem, and help me to out of come this situation. Thanx.:) keep smilling.....b'coz smile is the shortest distance between people....
-
Hi! I have one buttons and two text boxes on a same page at two places, that means 4 text boxes and two buttons. My problem is to set focus on relative button or set tab index to buttons. When i press enter after enter both value in text boxes my focus gone to the another button which comes first in left hand side of the page. How can i set foucus to the desired button , so that when i came out from text box it automatically should go to the its next button in stead of going to another buttons, which are assosiated with other text boxes. I hope you great people can understand this problem, and help me to out of come this situation. Thanx.:) keep smilling.....b'coz smile is the shortest distance between people....
Hi, I think the property TabIndex should help you. Setting this property (is an integer property) will set your controls into a special order, which can be traversed using the Tab-Button. You can set this property directly using code or the property page of the control (within VS.NET). Hope this helps Regards Sebastian