Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group no reseting values
Message
From
02/05/2000 09:32:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Option Group no reseting values
Miscellaneous
Thread ID:
00365045
Message ID:
00365045
Views:
55
I have an option group where the button count is 2.
All I want to do is reset the value of the control source every time the user clicks on one of them.
So I say in the InteractiveChange something like this:
DO CASE
CASE .opgroup.option1.Value = 1
ThisForm.myProp = 'A'
.opgroup.option2.Value = 0
CASE .opgroup.option2.Value= 1
ThisForm.myProp = 'B'
opgroup.option1.Value = 0
ENDCASE

But it won’t reset the values, when I close the form and then I open it again it comes back with BOTH options checked!
What am I doing wrong?
Next
Reply
Map
View

Click here to load this message in the networking platform