| Subject |
Re: Shortcut for a Pushbutton |
| From |
Heinz Kesting <Nobody@Nowhere.com> |
| Date |
Fri, 14 Aug 2020 23:12:52 +0200 |
| Newsgroups |
dbase.getting-started |
| Attachment(s) |
ShortCuts.PNG |
Hi Mustansir,
> we can put & before a character in a text of pushbutton to make it shorcut accessible. When I run the form and selecting the ALt key + character that I specified, the onclick event does not get triggered.
>
If your form is having a menu, you could use the ShortCut property of a
menu item, please see the OLH for more information.
You would need to create a menu item for the same action your pushbutton
is designed for. Then you can assign the desired shortcut to this menu
item. The best of this option is that you can use not just ALT
combinations, but others like CONTROL, SHIFT and/or functions keys as well.
So you can provide common shortcuts like CTRL-P, CTRL-F etc.
If you click the spanner symbol for the ShortCut property in the menu
designer, the available keys will be listed in the following dialog -
see the attached picture.
Hope I could help.
Kind regards, Heinz
|
|