Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Value
Message
De
08/10/2003 15:52:46
 
 
À
08/10/2003 15:45:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00836438
Message ID:
00836452
Vues:
8
Yes, though that is good to know as I was not aware of that. I have the following values in the Rowsource property entered exactly this way:
C,D,L,N

I don't need quotes around the values in the Rowsource or Value properties, do I?

>SWAG:
>Is the Value in the combo's RowSource? If it's not it won't show up.
>e.g.,
>
>ocombo.AddItem("A")
>ocombo.AddItem("B")
>ocombo.AddItem("C")
>ocombo.DisplayValue="D" && you see D
>ocombo.Value="D"        && you see nothing
>
>
>>When I put a something in the Value property of a combobox, nothing displays on the screen for that combobox. Whereas, if I put something in DisplayValue something will display. If I put a value in both, nothing will display. I am sure I am doing something wrong, or forgetting to switch another property somewhere. What can I do to have a default value display on the screen as well as have something stored in the value property? I would prefer to do this on the property sheet and not hardcode it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform