how to make a button the default?

  • Thread starter Thread starter AaaaM
  • Start date Start date
how can i make a button the default so if the user push
the enter button it is handled?

Presumably you want to do this programmatically rather than just
change the button style property in the dialog editor? If that's what
you need, have a look at Knowledge Base article 67655 "HOWTO: Change
or Set the Default Push Button in a Dialog Box".

Dave
 
No i want to do it by Proprety Explorer.
Anyway if the user click on enter button, page mustn't
close it, before process a function that permit to it.
 
No i want to do it by Proprety Explorer.

So, do you have a problem doing that?
Anyway if the user click on enter button, page mustn't
close it, before process a function that permit to it.

Perhaps you should just disable that button until you call your
function.

Dave
 
Back
Top