Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Array Property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00508010
Message ID:
00508045
Vues:
38
>I have a combobox on a form that I want to display the unique records in a drop down list. I am doing this with an array as the rowsource and I fill it in the controls init with "Select Distinct company from shows into array apick" The problem is that the array must be visible outside the form that the control lives in. I take it that this is because the control inits before the form and an array on the form won't exist when the control is created. In Will Hentzens Fundamentals book, chapter 9 says that you can put the array into the control, but I have been unable to figure out how. Does anyone have some hints on this?
>
>TIA.
>
>Ron

Add an array property to your application object. If you don't have an application object, create an object that lives in memory while your application is running and is destroyed when the application closes. Add an array property to this object and use it when you need to.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform