Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox Data
Message
 
À
21/07/1999 14:14:32
Jill Desplinter
Claims Administrative Services
Tyler, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00243838
Message ID:
00244539
Vues:
18
Try setting the RowSource and RowSourceType as follows:

*-- Set rowsource to nothing.
This.RowSource = ""
*-- Set rowsourcetype to 0(none)
This.RowSourceType = 0
*-- Drop-down list
This.Style = 2
*-- Add your items.
This.AddItem("Full Duty, Full Pay")
This.AddItem("Half Pay")
*-- Makes combo display first option.
This.ListIndex = 1

Make sure that the field length of the ControlSource is long enough for your longest item in the combobox.

-Mike

>I tried you suggestion but it only took the data in the first AddItem. It gave to options to pick from but the second one was blank. Have I done something wrong or is there one more thing I need to do for it to work?
>
>Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform