Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A couple of questions about Option Buttons
Message
From
16/08/2011 09:03:45
 
 
To
16/08/2011 04:10:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01521030
Message ID:
01521087
Views:
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.

I know. However, in this case I didn't want to argue, instead I answered the specific question. :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform