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:
00508157
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.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform