Resizing

lothos123452000

Newcomer
Joined
Dec 20, 2006
Messages
19
In Visual Basic.NET 2003 how can I center controls inside a panel so no mater what size the form is the controls are always centered inside the panel.
 
Center the controls within the panel in the designer (either manually or via the Format menu). Then, go to the property window, find the Anchor property of the control, and disable all anchors (or, through code, set the Anchor property to AnchorStyle.None).
 
Back
Top