Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control of three options
Message
De
07/07/2011 02:45:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01517424
Message ID:
01517523
Vues:
53
Hi Dimitry,

(original answer deleted) ;-)

just saw that you wanted to do what I was proposing, and you just forgot one value definition.
So...never mind :)

>Hi,
>
>I need to create a control that will have 3 choices kind of similar to how the option group control works but use should be able to select more than 1 choice. For example:
>
>Shift 1 [ ] Shift 2 [ ] Shift 3 [ ]
>
>The control should be bound to one field, of Int type. So that the value stored in the field would be as following:
>0 - if user didn't make any selection
>1 - If user selected Shift 1
>2 - Shift2
>3 - Shift1 + Shift2
>4 - Shift1 + Shift3
>5 - Shift2 + Shift3
>6 - Shift1 + Shift2 + Shift3
>
>The only way I can think of is by creating a container-based class with three optio control buttons.
>
>But, in case I am missing something, is there a way to use one native VFP control for this?
>
>TIA.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform