|
-
Jan 26th, 2004, 11:37 AM
#1
Thread Starter
New Member
ActiveX control that resizes itself?
Forgive the obvious ignorance of this question, but I'm an ActiveX noob and have no idea how to do this. I'm writing a control that is being used by a third-party program that allows the addition of new, custom 'modules' that end-users create. Unfortunately, I do not have access to their source. My basic problem is that the frame that this other software provides changes size based on the user's resolution and the size of the IE window that they're using. Is their a way to get, from an ActiveX control, the size of the frame it's being put into? Thanks for any help.
C'mon people, this isn't rocket surgery...
-
Jan 26th, 2004, 03:00 PM
#2
You can get access to the container of the user control through the extender object. The following will print the name of the container (Form, Frame, PictureBox etc) that your user control has been placed upon.
debug.print UserControl.Extender.Container.Name
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|