Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning a default command button
Message
 
To
16/01/2003 16:50:45
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00742653
Message ID:
00742660
Views:
16
This message has been marked as the solution to the initial question of the thread.
There is a AcceptButton property on the form that can be set to the button of your choice.

>Using a C# WinForm, how do I make a command button the default button so that when a user hits enter, the command button's click() is called?
>
>Thanks,
>
>Jerry
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform