Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using an Array with a ComboBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00175889
Message ID:
00175890
Vues:
28
>I created a property on a form aGroupCodes[1,2]. Within the init of the form I fill the array with the records of a table beginning with the second row of the array. The first row defaults to a "doesn't apply" value.
>
>Anyhow if I set the combobox RowSource and RowSourceType properties programatically within the form's init everything works fine. If I set the values manually in the properties dialogue of the combobox only the first row appears, the "doesn't apply" row.
>
>I know I should, then, just set the properties programatically, but I am curious as to why this is the case.
>
>Any ideas,
>Paul

Anytime you change Combo.RowSource (e.g. adding more rows to array) you should fire Combo.Requery to get new contents into the combo.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform