-
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.
-
In the resize event you put usercontrol.scaleheight=usercontrol.parent.height or something like that.
-
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.
:)