Solved

The container of a activeX

Posted on 2000-02-29
3
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 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…

738 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