Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check boxes in Grid
Message
From
19/09/1997 06:03:36
Glenn Shimabukuro
State of HI, Dept of Health, Dd Division
Pearl City, Hawaii, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00050148
Message ID:
00050685
Views:
26
>>I created a grid which contains skill performance data. I have two columns titled 'Satisfactory' and 'Unsatisfactory', respectively. The contontrol I have in each column is a check box. I tried to embed code in the click event for each of the check boxes so that when one of the boxes are checked, the other box is automatically in the 'checked' or 'unchecked' state.
>>
>>So far, my code has not been successful. I tried to initialize the value of the other box with the opposite condition, then refresh it; however, no dice!
>>
>>I welcome any ideas!
>>
>> Many Thanks!
>> Glenn
>
>Glenn, could you set the datasource of the second checkbox to a variable which is the opposite of the first checkbox? Then all you'd have to do is refresh it in the valid or lostfocus of both checkboxes.
>
>HTH
>Barbara




Barbara:

Thanks for your ideas ... it looks good ... I'll give it a try!



glenn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform