Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check box needs two clicks
Message
 
 
To
25/04/2001 17:28:57
Ray Keys-Bramlett
Custom Business Applications
Fresno, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00499871
Message ID:
00499954
Views:
17
>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?

Ray,

In addition to Mark's response, see, if this info applies to your situation: Forum: Visual FoxPro Category: Troubleshooting Title: Re: Checkbox is not working properly Thread #493100 Message #493133
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform