>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