Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check boxes in Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00050148
Message ID:
00050496
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
>> In the valid event of "Unsatisfactory" add this code :
>>replace Satisfactory with !Unsatisfactory
>>
>>and for "Satisfactory"
>>replace UnSatisfactory with !satisfactory
>>
>>Cetin
>
>What about use radio buttons I did one like that it worked fine
>Mark

Mark, on a form radio buttons would be the easiest way. However,Glenn is working in 2 different cells of a grid.....

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform