Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to define a key label per form ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235469
Message ID:
00235470
Views:
21
>I have several forms in an application.
>Each form has a set of button. In some of these forms, there is a save button.
>In some form (the one with the save button), I would like to give the user the opportunity to press F5 instead.
>The problem is that if I do a ON KEY LABEL F5... in the init of the form, and if the user clic on another form (that doesn't have the save button), the ON KEY LABEL is still active.
>
>?Is there a way to specify a ON KEY LABEL that would be only effective in a particular form?
>?Alternatively, is there property in the button object were we can specify a keyboard shortcut such as F5?
>
>Thanks.
>Eric.

Use the GotFocus and LostFocus methods to set the OKL.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform