Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check Box Control
Message
De
30/11/2001 06:09:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00587889
Message ID:
00587890
Vues:
25
>Hi,
> I have 3 groups of checkboxes which have to work in syncronisation i.e. when i check one check box the others well uncheck automatically. But i also need that when the user tries to uncheck a checked box the program wouldn't let him to avoid that no boxes are checked.
>
>I am putting this code in the interactivechange of the checkbox.
>
>If This.Value = 1
> Nodefault
>Else
> Thisform.chkOne.Value = 0
> Thisform.chkTwo.Value = 0
>Endif
>
>
>But the problem the value when user clicks on the check box is alreay changed in the interactivechange. i.e. When the box is unchecked and the user clicks on it the value in the interactivechange is 1.
>
>Can someone help me out.
Franco,
this.value = this.value might help you. However what you describe fits to an optiongroup.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform