|
-
Dec 13th, 1999, 02:38 AM
#1
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]
-
Dec 13th, 1999, 12:00 PM
#2
Hyperactive Member
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!
-
Dec 13th, 1999, 09:24 PM
#3
Hyperactive Member
Thanks Aaron, I didn't know the Extender Object.
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|