Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i prevent access to a check box?
Message
De
10/12/2001 22:31:14
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00592500
Message ID:
00592510
Vues:
20
Hi Nancy,

In the valid of the School Checkbox:
IF This.Value = .T.
    ThisForm.chkSchool.Value = .F.
ENDIF
In the valid of the Work Checkbox:
IF This.Value = .T.
    ThisForm.chkWork.Value = .F.
ENDIF
Hope this helps,
Gavin...

>I have two logical fields - SCHOOL and WORK. I want to simply prevent users for checking of both SCHOOL and WORK - only one can be checked off. I have tried several things with the WHEN event of the check boxes such as in the WHEN event of the SCHOOL field I put in "work = .f.". However this doesn't work and I am still able to check off both boxes.
>
>Thanks,
>
>Nancy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform