Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to setup a hotkey for lookups gives me problems.
Message
 
À
03/08/1998 10:44:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00123533
Message ID:
00123585
Vues:
16
>In my keypress event I am checking if the key was F4 and simplye performing a KEYBOARD '{ENTER}' so it will execute the customer lookup code located in the lostfocus event. It works fine except I get the letter Y with two dots over it prepended to whatever the user puts into the txtbox prior to hitting the F4 lookup key. I cannot get rid of the character and that causes the seek to always fail.
>
>Shouldn't this be really simple to setup ?????
>
>Thanks in advance for your replies !!!

Jace,

Try something like this;
* Keypress


IF nKeyCode = ### && F4
   NODEFAULT && Stop the F$ from getting into any controls
   KEYBOARD"{ENTER}"
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform