[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

The container of a activeX

Posted on 2000-02-29
3
Medium Priority
?
184 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 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