Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box Requirement
Message
From
24/07/2001 16:42:36
 
 
To
24/07/2001 16:40:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00534638
Message ID:
00534656
Views:
13
>Nancy,
>
>Thanks. I got it working by putting this code in the keypress method:
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>do case
> case nKeyCode = 9 or nKeyCode = 13 or nKeyCode = -3
> * 9 = Tab 13 = Enter -3 = F4
>
> otherwise
> nodefault
>endcase
>
>And putting KEYBOARD '{F4}' in the when method.

Cool. Though, if you want my opinion, in the GotFocus is more logical. Not really critical, but would probably suprise the heck out of someone to find it there. :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform