Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will any keys check and uncheck checkboxes?
Message
From
03/06/1999 09:16:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00210499
Message ID:
00225890
Views:
35
Mark:
How do I prevent the key from toggling the checkbox and make it work like a TAB? I've tried putting this code in keypress event:

LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 13
nKeyCode = 9
endif

dodefault(nKeyCode, nShiftAltCtrl )

I've also tried
if nKeyCode = 13
KEYBOARD '{TAB}'
endif

dodefault(nKeyCode, nShiftAltCtrl )

Any Ideas?
Mike
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform