Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Give a key combination to activate a button
Message
 
To
06/10/2003 15:19:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00835506
Message ID:
00835511
Views:
11
You can assign:

on key label ... iif(type("thisform.button1")="O",thisform.button1.click,"")

when loading the form and clear it on form unload.


>In the old foxpro for dos (stone age) it was possible to give a button a default key code(short cut). for exp i have 5 buttons and on of them i can activate from every where in the form just by pressing "ctrl + enter". Is this still possible in foxpro 7 ? I know you r going to say inkey(),keypress() or.... but i want to know if there is an other way to give a buttom a 'shortcut'.
>
>thnx
Previous
Reply
Map
View

Click here to load this message in the networking platform