Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Array Property
Message
De
18/05/2001 15:37:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00508010
Message ID:
00508949
Vues:
32
>Mark,
>
>I can't do that because I need the array as a property of the control, not the form. I have been told that this is because the control inits before the form inits, and any array that is a form property won't be there when the control is created. Am I wrong on this???
>
>Ron.

If you're going to use the array as the rowsource for the combo box, it should be ok. Create the array as a property of the form at design-time. Set the rowsource of the combo box to thisform.myarray at design-time or run-time. If you set the rowsource in the init of the combo box, be sure to put quotes around thisform.myarray. (ex: this.rowsource="thisform.myarray"). Then in the init of the form, re-dimension and populate the array and refresh the combox box. I have no idea how to make an array a property of a combox box.

Hope this helps,
Mark
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform