Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check boxes in Grid
Message
De
19/09/1997 14:22:11
Glenn Shimabukuro
State of HI, Dept of Health, Dd Division
Pearl City, Hawaii, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00050148
Message ID:
00050754
Vues:
35
>>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 help. I'll try it out. By setting a field to the 'not' state of another field ... would that make the second field read-only?

Glenn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform