Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to setup a hotkey for lookups gives me problems.
Message
 
To
03/08/1998 10:44:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00123533
Message ID:
00123585
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform