Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A couple of questions about Option Buttons
Message
De
16/08/2011 09:03:45
 
 
À
16/08/2011 04:10:44
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:
01521087
Vues:
49
>>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.

I know. However, in this case I didn't want to argue, instead I answered the specific question. :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform