C
C# Learner
Is it possible to set a command button to the "default" button of the
form?
Here's an example of what I mean -- press Start -> Run. Notice that
the "OK" button has a dark rectangle around it, and when you press
ENTER, this "OK" button's Click event handler is eventually fired.
I was expecting Button to have a Default property, but can't seem to
find anything like it...
form?
Here's an example of what I mean -- press Start -> Run. Notice that
the "OK" button has a dark rectangle around it, and when you press
ENTER, this "OK" button's Click event handler is eventually fired.
I was expecting Button to have a Default property, but can't seem to
find anything like it...