Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button with function key
Message
De
22/11/2004 09:53:04
 
 
À
20/11/2004 02:35:04
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00963169
Message ID:
00963470
Vues:
7
Command buttons are generally accessed via Alt hotkeys. I recommend that you use that type of a combination instead of a function key. In addition, F10 is reserved by Windows to activate the menu.


>Hi ! can any one tell me how to set function key in command button ?
>
>the coding below will works if I set sysmenu off,
>but I need to show my menu on top
>so what should I do ?
>
>
>thisform.keypreview=.t.
>
>thisform.keypress
>do case
>case nkeycode=-9 && F10
> thisform.cmdSave.click
>endcase
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform