"Default" attribute to button ?
C#
3
Posts
3
Posters
0
Views
1
Watching
-
How can I add something like "default" attribute to button? When I press the ENTER key I simply want to activate specific button, but where is the "default" attribute? It was in Visual C++, but in C# I don't see it... :((
-
How can I add something like "default" attribute to button? When I press the ENTER key I simply want to activate specific button, but where is the "default" attribute? It was in Visual C++, but in C# I don't see it... :((
-
The behavior you are looking for is the AcceptButton property of a Windows Form class. Example: this.AcceptButton = this.myButton; Andy Gaskell, MCSD MCDBA
Which, after all, is a more elegant modeling... Crivo Automated Credit Assessment