Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A couple of questions about Option Buttons
Message
De
16/08/2011 04:10:44
 
 
À
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:
01521069
Vues:
48
>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
Hmm, while certainly functioning,
this is exactly the pattern usually argued to be better split up onto each single control.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform