Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Box Control
Message
From
30/11/2001 06:09:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00587889
Message ID:
00587890
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform