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:
00508567
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Nadya,
>
>Thanks for the reply. I am sorry I didn't communicate this correctly, but I think you may have the answer. I also don't like creating global arrays, and I don't need the selection to be visible outside the control.
>
>What I am having dificulty with is creating the array as a property of the control. I don't think I am doing that correctly. Can you give an example?
>
>Thanks,
>
>Ron

Ron,

If you control is subclassed, e.g. it's in your classlibrary, you can do modify class, go to menu class, New property, then type myArray[1]. Now you created an array property for your control. You then can re-dimension it anytime..

If you use baseclass, you probably can add a property by AddProperty method, but I would not recommend using VFP baseclasses.
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