Click here to Skip to main content
16,012,061 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
I have three forms like form1.form2.form3....These three forms contains submit button each....when i press enter key on form1 submit button or form2 submit button it shows validation form3 textboxes....

How to set default focus for each form submit buttons...

Can anyone help me.....
Posted
Comments
Sergey Alexandrovich Kryukov 5-Jul-12 0:30am    
Focus or default button? Or both?
--SA

1 solution

If I understood your question, you need to setup the default buttons to the 3 different forms if this is right, then you need to wrap up the controls of each forms inside a Panel. The Panel has a property of DefaultButton which you can set.

For more details you can have a look here[^].
 
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