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