Hey John,
>I have created an array, local in scope, within a method of a form. Now I want to save the array to a property of that form so that I can access it from other methods. I tried:
>THISFORM.aArray = aMyNewArray.
>Didn't work--When I look for THISFORM.aArray[1] I am told it isn't an array.
You got some great answers from John, Edward and George. I'll throw in my two cents. I've used a public domain function called AddProp5.FLL which allows me to add properties to objects at runtime. That way I don't have to pre-define them on a form or a class.
Just a thought...
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote TechnologiesDeveloper's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development