Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance some of the time but not all of the time?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00186503
Message ID:
00186514
Views:
19
Colin,

Try this instead.
.KeyPress Event
IF This.Style=2 AND This.mlListLikeCombo
   IF nKeyCode=5 &&UPARROW or DNARROW DropDown Combo
      KEYBOARD "{BACKTAB}"
      NODEFAULT
   ENDIF
   IF nKeyCode=24
      KEYBOARD "{TAB}"
      NODEFAULT
   ENDIF
ENDIF
You won't need the Valid code anyore because you aren't changing the style for the combo.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform