Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
F10 does not return nKeyCode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01308859
Message ID:
01308880
Vues:
16
This message has been marked as the solution to the initial question of the thread.
>>>What would cause F10 not to return a nKeyCode in a Text box (KeyPress)?
>>
>>F10 is standard Windows key to activate a menu, the same as ALT.
>
>Is there anyway to disable that in windows so it can be used in VFP?

You can use ON KEY LABEL or SET FUNCTION. For example,
* Generate CHR(155) On F10
SET FUNCTION F10 TO CHR(155)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform