Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON KEY LABEL
Message
From
21/11/2001 07:22:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
21/11/2001 03:48:25
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00584338
Message ID:
00584393
Views:
32
>How to use On key label eg. F1 to run a method in form?
>
>TIA

I agree with Marcia's assessment - and OKL are rarely required any more, with all the VFP events now available. Apart from KeyPress, you can use Click, RightClick, and many more, depending on the situation.

You can also, for instance, use F3 as a shortcut to a menu command. Combine this with the syntax Vlad gave you.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform