Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A couple of questions about Option Buttons
Message
De
15/08/2011 21:23:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01521030
Message ID:
01521056
Vues:
51
I agree, and I guess that's why it's not an option..

>IMO multiselect is inappropriate for option groups a.k.a. radio buttons. The control is designed to capture one and exactly one option from a defined group. If more than one choice is valid, checkboxes are the appropriate controls.
>
>>1.In the click event of the option group
>>DO CASE 
>>   CASE this.Value=1
>>      * some code
>>   CASE this.Value=2
>>      * some code
>>   CASE this.Value=3
>>      * some code
>>   CASE this.Value=4
>>      * some code
>>   CASE this.Value=5
>>      * some code
>>ENDCASE
>>2. No, unfortunately
>>
>>>Hi. I have working with OptionGroups/buttons for a long time. It may be easier for me if I knew some basics. Keep in mind that I am in Fox 7.
>>>
>>>Here are my Q's:
>>>1. Can you put all of the code in the "optiongroup" rather that behind the individual buttons?
>>>
>>>2. Can you make an option group single-select or multiple-select via a PEM?
>>>
>>>Thanks, Randy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform