How to Center an Object on a Form in Visual Basic 2007
- 1). Click the Windows "Start" button, and select "All Programs." Click "Microsoft .NET Framework" program group, then click "Visual Studio." This opens the software where you program for the Visual Basic software.
- 2). Click the "Open" icon in the toolbar. Double-click your Visual Basic project file. This loads all the existing forms in your "Solution Explorer" panel.
- 3). Double-click the form you want to edit. The form opens in the Visual Studio designer. Drag and drop any control from the Visual Studio toolbox on the left side of the window to the form. For instance, drag and drop a text box control to create a text box on your application window.
- 4). Size the text box vertically and horizontally. Click the control and drag it around the form until it is centered in the window. After the control is centered, press "Ctrl" and "S" to save the changes.