Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box needs two clicks
Message
From
25/04/2001 17:28:57
Ray Keys-Bramlett
Custom Business Applications
Fresno, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Check box needs two clicks
Miscellaneous
Thread ID:
00499871
Message ID:
00499871
Views:
51
I have a check box with a logical field as the control source,(family.pri1). The first time you click it, there is no visible change. The second time you click it, it will toggle the field.

I want a single click to change the value of the control source. I have been able to make it work by removing the control source and adding the following code

INIT:
this.value=family.pri

WHEN:

this.value=family.pri

VALID:
replace family.pri1 with !family.pri1
this.value=family.pri1

This does not seem like the right way to do it. Any ideas why just using the control source is not working with a single click?
Next
Reply
Map
View

Click here to load this message in the networking platform