Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A couple of questions about Option Buttons
Message
 
 
To
15/08/2011 16:35:45
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:
01521053
Views:
59
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform