J
JezB
I'm trying to get at the Components collection given only a reference to a
Form object (things like tooltips, etc, I dont mean the Controls
collection). It has been suggested that I read the Site object and get at
the Container.Components thru that. However, when I evaluate myForm.Site at
runtime this always seems to return a null reference, even though my form
does have components.
Could anyone suggest why and how I work around this?
Form object (things like tooltips, etc, I dont mean the Controls
collection). It has been suggested that I read the Site object and get at
the Container.Components thru that. However, when I evaluate myForm.Site at
runtime this always seems to return a null reference, even though my form
does have components.
Could anyone suggest why and how I work around this?