size question,

  • Thread starter Thread starter dragonslayer008
  • Start date Start date
D

dragonslayer008

Hi,

I have a form with two controls on it. One is just a panel where I
will put buttons and slider controls eventually. The other is a
custom control which draws some output. I have docked the panel to
the left of the form, and I dock the custom control to "fill".

I was trying to center some graphics in the custom control, but it was
off center. The reason is because the Width and Height of the control
is set as if the panel wasn't there--as if the custom control filled
the whole form area.

How do I fix this?
 
Hi,

I have a form with two controls on it. One is just a panel where I
will put buttons and slider controls eventually. The other is a
custom control which draws some output. I have docked the panel to
the left of the form, and I dock the custom control to "fill".

I was trying to center some graphics in the custom control, but it was
off center. The reason is because the Width and Height of the control
is set as if the panel wasn't there--as if the custom control filled
the whole form area.

You have to move the panel to be the front of the z order I believe.
(Tools-Order-Bring to Front).

Michael
 
Back
Top