Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a method with on key label
Message
From
10/06/1998 14:04:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00105457
Message ID:
00106850
Views:
24
>>Richard,
>>
>>I'd avoid OKL. If the object is on a form use the form KeyPress method instead.
>>
>>>How do you call a method of a control with the ON KEY LABEL command? i.e: ON KEY LABEL CTRL+A this.selectall
>
>The problem is the control in question is the grid, which has no keypress event.

David already told you that you can use Form.KeyPress event, having Form.KeyPreview=.T. Also, you could consider to apply right-click shortcut menu.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform