> >
> > A better solution may be to have a form manager object which contains references to all forms. No publics required. I tend to think people are just not trying hard enough to avoid PUBLIC vars. :)
>
> While all the talk is against the poor old Public Vars, nobody mentions the evil of Public properties, in fact what I read is that people uses public properties of a public object instead of public variable, which to me is hardly any change.
100% Agreed. :)
>I only use public properties when I want to provide other developers access to them visually for as far as I know there is no escape to this otherwise all my properties are protected/hidden with get and set methods (access and assign are not my cup of tea, I use them seldom)
I think I prefer the get and set methods too, but if the code isn't using them, access and assign can help encapsulate the properties. :)
Mike Yearwood
www.foxridgesoftware.comPresident: Toronto Ontario FoxPro User's Group