>Hi,
>
>I was wrong on this. I may have been thinking Java - if I remember you can do this with a nested class (if it's static) but that isn't much help in this case<g>
>
>Chris's suggestion of passing in the outer class reference in the constructor seems like your best bet. Given that you can't achieve what you intended perhaps the nested class structure is not particularly useful in this instance?
>
>Regards,
>Viv
Thanks for all the input and suggestions. I ended up just passing in the parent reference into the constructor of the child classes I instantiate inside the main class. It ultimately gives me the functionality I wanted.
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook