Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Option button deselect
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01229161
Message ID:
01229362
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform