Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Key Label problems
Message
From
25/02/2007 16:50:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01198638
Message ID:
01198679
Views:
7
Don't do any of the suggested solutions, including OKL. Setup a menu with a hotkey. This allows both keyboard and mouse access to the functionality.

>Hi.
>I want to set a screen level On Key label, so that the user can hit a Function key to carry out a particular option.
>I have code in the init like:
>On Key Lablel F4 Thisform.MyMethod and I have a Method as:
>
>** MyMethod ****
>Take Some Action
>
>(Note that MyMethod is also called from other controls within the form)
>
>I get a Thisform can only be used within a Method.
>
>Anybody got a solution for this ?
>regards,
>Gerard
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform