Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yes/No control
Message
De
11/02/2001 02:05:20
 
 
À
10/02/2001 16:14:12
Adam Skowronski
Custom Designed Systems
Miami, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00474738
Message ID:
00474791
Vues:
26
Hi Adam,

Hello fellow Miamian. I lived there most of my life and my grandmother was born there in 1918.

Anyway, you are using the prompt as the Value in your Combobox, forceing the C(3) value. Not good. I would imagine that conceptually, you could have the same type of class to handle Yes/No situations.

To me, relying on C(3) and literal Yes/No answers is not acceptable.

Let me explore this a bit more and maybe post some code.


>I'm not as advanced enough to create objects this way, and wonder if there is any downside to the what I use for a Yes/No option.
>
>I have a ComboboxClass created, with the RowSourceType=1-Value, RowSource="YES, NO", BoundTo=.T., Style=2-DropdownList, etc. When I drop it on a form, all I have to do is define the ControlSource. Of course, the bound field must be C3 and not Logic. Aside from the field length/type, is there anything else I should look out for using this method, or is it acceptable.
>
>Thanks,
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform