Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a method with on key label
Message
De
10/06/1998 14:04:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00105457
Message ID:
00106850
Vues:
25
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform