Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Discusion Combo
Message
De
27/03/2001 14:02:07
 
 
À
27/03/2001 12:27:34
Ben Dekker
Dekker Soft & Hardware
Axel, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00488882
Message ID:
00489102
Vues:
13
>>The minimum you need is rowSource (5) & rowSourceType
>Sorry but that's not working at all.

Try this:

oForm = create('form')
oForm.AddObject('Combo1', 'Combobox')
dime aItems[5]
aItems[1] = 'A'
aItems[2] = 'B'
aItems[3] = 'C'
aItems[4] = 'D'
aItems[5] = 'E'
oForm.Combo1.RowSourceType = 5
oForm.Combo1.RowSource = 'aItems'
oForm.Combo1.Visible = .T.
oForm.Show(1)


What do you get? When you say its not working, explain. What do you see, what do you expect? Lemme guess, you see the first item and thats it. Try doing a Comboboxname.Requery() after you populate the array.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform