Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A couple of questions about Option Buttons
Message
 
 
À
15/08/2011 16:35:45
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:
01521053
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform