Results 1 to 2 of 2

Thread: ActiveX control that resizes itself?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2004
    Posts
    1

    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...

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    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
  •  



Click Here to Expand Forum to Full Width