Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter Key on a CheckBox in a Grid
Message
From
30/10/2002 13:46:54
 
 
To
30/10/2002 13:11:36
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00716997
Message ID:
00717014
Views:
22
UPDATE: I just saw Craig's reply and it works and is much cleaner!

Create a form property called onkeyenter and set its initial value to ""
Then in the checkbox's gotfocus method put:
thisform.onkeyenter=ON('KEY LABEL','ENTER')
ON KEY LABEL ENTER KEYBOARD '{TAB}'
and in the checkbox's lostfocus method put:
LOCAL lconkey
lconkey=thisform.onkeyenter
ON KEY LABEL ENTER &lconkey
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform