lothos123452000 Posted March 7, 2007 Posted March 7, 2007 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. Quote
Leaders snarfblam Posted March 7, 2007 Leaders Posted March 7, 2007 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). Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.