Putting the line under a letter on button as shortcut key

Teebird

Registered User.
Local time
, 07:57
Joined
Sep 3, 2006
Messages
60
Hi All

How do you assign a shortcut key to a command button.

I want to close a form with the command button - the button would have the words "Close Form" on it with an underline under the C.

If the user does the action eg: Ctrl E - the form will close.

Tee
 
Precede the letter with "&" in the caption property:

&Close Form

It will be Alt-C to execute it.
 
Excellent great stuff....
Thanks
 

Users who are viewing this thread

Back
Top Bottom