Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

The container of a activeX

I want to know what the container of my activeX control is.

I'am making my own Option-box but in order to have only one option-box "checked"
i need to know what other option-boxes are pressent so i can uncheck.
0
dgb
Asked:
dgb
1 Solution
 
caraf_gCommented:
Use the Extender object.

Example:

Private Sub UserControl_Click()

MsgBox UserControl.Extender.Container.Name

End Sub

0
 
crazymanCommented:
UserControl.ParentControls gives a collection of the parents controls.
0
 
dgbAuthor Commented:
Just the thing i was looking for,

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now