Solved

The container of a activeX

Posted on 2000-02-29
3
172 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now