Results 1 to 3 of 3

Thread: OCX Behaviour

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Location
    Australia
    Posts
    83

    OCX Behaviour

    Hi

    I was wondering if someone could assist me in understanding how to make an OCX auto size to the window it is on and to stay in a fixed position, like a menu does, but I don't want the window to tell the OCX what to do?

    Any assistance would be appreciated.

  2. #2
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    In the resize event you put usercontrol.scaleheight=usercontrol.parent.height or something like that.
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Or if you want it to lock to a certain side of the form, set the designer's Alignable property to True and set the alignment.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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