Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group Control
Message
From
14/09/1999 13:23:03
 
 
To
14/09/1999 13:01:25
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00264562
Message ID:
00264578
Views:
19
You don't bind a control to a variable, you use it as a variable. Don't put anything in the ControlSource. To access the value of the Option Group in your code, use something like: THISFORM.MyOptionGroup.Value

HTH
>I am trying to an Option Group (Radio Button) Control on a form. I would like to have a variable (m.DemoFlag) as the ControlSource so that I can use it in coding for the different options selected. When I enter m.demoflag in the ControlSource for the control I get the error 'Error w\ OptionGroup1 - Value; Data type mismatch. Unbinding Object OptionGroup1'. What am I missing?
Previous
Reply
Map
View

Click here to load this message in the networking platform