Hi,
I've got quite a strange and rather annoying problem:
The code is like this:
Dim objParent as Object
Set objParent = Extender.Parent
Looks rather simple and according to everything I've read it should work. When I go to my watch window I can find everything I want to know about the parent. I can access the controls collection, drill down to the items etc. I can even find all window handles of the controls located on the parent. In short: the reference seems ok, since VB figured this all out.
The funny (and most irritating) thing is that I can't use the reference in code. No matter what property I want to inquire it's always
Runtime error 438:
Object doesn't support this property or method.
either in code or in the immediate window....
Maybe it is important to mention that the parent is a UserControl as well (not a Form).
Greetings,
Rick
I've got quite a strange and rather annoying problem:
The code is like this:
Dim objParent as Object
Set objParent = Extender.Parent
Looks rather simple and according to everything I've read it should work. When I go to my watch window I can find everything I want to know about the parent. I can access the controls collection, drill down to the items etc. I can even find all window handles of the controls located on the parent. In short: the reference seems ok, since VB figured this all out.
The funny (and most irritating) thing is that I can't use the reference in code. No matter what property I want to inquire it's always
Runtime error 438:
Object doesn't support this property or method.
either in code or in the immediate window....
Maybe it is important to mention that the parent is a UserControl as well (not a Form).
Greetings,
Rick