Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to Hide UserControl from within the control code

Posted on 1998-07-04
1
Medium Priority
?
296 Views
Last Modified: 2008-02-26
I have made an ActiveX control, and i have put a command button onto it, Now as the user presses the command button i want the control to get hide, and i want to do it from the code of control itself, other way is to raise the event when user presses the command button, and then he himself has to do it in click event of usercontrol which i don't want. Please tell me if there is any way. Thanx in Advance.
0
Comment
Question by:pkaushal
1 Comment
 
LVL 2

Accepted Solution

by:
chris_a earned 100 total points
ID: 1464951
Use the extender object, this lets you get at the external properties of the usercontrol.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

971 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