-
The Parent of the User Control will always be the Form it's on, regardless of wether it's ina container or not.
To get a reference to the Container, you need to go round about using the Extender Object, eg.
Msgbox "The Containers TabIndex Is: " & UserControl.Extender.Container.TabIndex
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
How can I know from within my ActiveX UserControl, the TabIndex that is has in the container it is.
I trayed this:
UserControl.Parent.TabIndex
UserControl.Ambient.TabIndex
And nothing.
Any idea will be deeply appreciated.
Thanks!
-
Thanks Aaron, I didn't know the Extender Object.
Thanks!