Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option button deselect
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01229161
Message ID:
01229362
Views:
14
>Thanks for the heads up. I did run into one problems though:
>
>
http://img248.imageshack.us/img248/3857/gridlm5.jpg
>
>how do you set all the option1 buttons in optiongroup1 to default with value one for the entire grid. I tried the following but it didn't work:
>
>
>		.Column8.Sparse = .F.
>		.Column8.optiongroup1.value = 1	
>
>
>
>and also
>
>
>.Column8.optiongroup1.option1.value = 1
>
>
>only one row seems to be selected for the radio button. I would like all the rows to be selected with option "None"
>
>thanks
>nick

First immediate idea - have this option group as a separate class with preselected Option 1. Additional advantages of this approach - you can easily add functionality if needed.

BTW, is this column bound? What field it is bound to?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform