Solved

The container of a activeX

Posted on 2000-02-29
3
174 Views
Last Modified: 2010-05-02
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
Comment
Question by:dgb
3 Comments
 
LVL 10

Accepted Solution

by:
caraf_g earned 50 total points
ID: 2568676
Use the Extender object.

Example:

Private Sub UserControl_Click()

MsgBox UserControl.Extender.Container.Name

End Sub

0
 
LVL 13

Expert Comment

by:crazyman
ID: 2568683
UserControl.ParentControls gives a collection of the parents controls.
0
 

Author Comment

by:dgb
ID: 2569077
Just the thing i was looking for,

Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question