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:
00508204
Vues:
34
>>Mark,
>>
>>Thanks for the quick reply. I will try what you suggested. This is just what I was looking for. Eric and Nadia replied on how to make the array public, but what I wanted is a way to have all the things needed for the control in the control. Then I can put it in my controls library.
>>
>>Thanks again to all who replied.
>>
>>Ron
>
>Ron,
>
>Using Mark's suggestion you will create a public array. I have a rule to avoid public variables if it's possible. If you need your array for this control only, you should create this array as a property of your control and not make it public.
>
>First of all, you should decide, what would be the scope of this array, then you will use the suggestion, which is appropriate. I & Eric understood your original post, as you want to make your array accessable everythere in your application.

Thanks Nadya,

Yeah, I stay away from public anything. Use properties when possible. :)
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform