Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOTO TOP in ComboBox
Message
 
 
À
19/09/2005 09:31:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01049365
Message ID:
01050839
Vues:
24
>It's a little bit hard for me to follow all the logic in the code.
>
>>> Did you try to verify content of the array?
>Yes, All values are there and correct
>
>>>Where do you set rowsource for the combo?
>In the properties of the combobox
>

Try to do it in code after having the array filled in. E.g. this.rowsource = "thisform.myArray"

>>>Did you try requery?
>Data is from a table, so requery not applicable
>
I meant this.requery(), e.g. requery a combo.
>>> Did you try with two dimensional array?
>Array is two dimensional

Wrong choice of words from my part again, sorry. I meant, could you use two columns and not 3 in your array just for test? In other words, having numerical value as the source for combo may be a bit of a problem (it should not).

Also try this.boundto = .t.
>
>>> Did you try to comment numberofelements line?
>I had not, but now have, errors before that on
>
>THIS.ListIndex=1
>
>

I think the problem is with setting combo's rowsource in design time. Try it in run-time and see, if it helps.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform