Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limiting selection of a checkbox in FP 2.6 styled code
Message
 
 
To
15/05/2007 11:09:04
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01225372
Message ID:
01225646
Views:
18
This message has been marked as the solution to the initial question of the thread.
I forgot that Valid() wouldn't fire if checkbox status didn't change. Try
* WHEN
DO CASE
CASE EMPTY(ON("KEY", "ENTER"))
	ON KEY LABEL ENTER KEYBOARD "{TAB}" CLEAR
CASE LASTKEY() = 13
	ON KEY LABEL ENTER
ENDCASE	
...
>Because I'm trying it and the ENTER key does not work in the screen after the WHEN turns it off.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform