Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement