Override Dock

  • Thread starter Thread starter Rudolf Ball
  • Start date Start date
R

Rudolf Ball

Hi NG,

I have a problem: I want to verride the Dock-Method that the control fills
the form, but keeps away 1 pixels from the edges, so I have a border.

Thank you for your help,

Yours

Rudi
 
Rudi,

Create a groupbox or panel that is one pixel away from the right
edge. Anchor that control to the right edge of your form. Place your
control inside the groupbox or panel, and then dock that control to the
parent. In theory, that will do what you want.

Scott Wagner
Seisint, Inc.
 
Back
Top