Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Array Property
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00508010
Message ID:
00508567
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform