Changes

Building a Visual Basic Status Bar

4 bytes added, 14:58, 9 April 2009
no edit summary
== Adding a Status Bar to a Visual Basic Application ==
Status bar functionality is provided by the Visual Basic ''StatusStrip'' control. To add a status bar to a form, therefore, locate the ''StatusStrip'' control in the ''Menus and Toolbars'' section of the Visual Studio ''Toolbox'' and double click on it to add it to the current selected form. The ''StatusStrip'' will appear running along the botton bottom of the form:
[[Image:visual_basic_status_bar.jpg| A Visual Basic Status Bar]]
When a StatusStrip has been added to a form it will display a single button which, when clicked, drops down a list of new control types which can be added to the status bar (SplitButton, ProgressBar, StatusLabel, DropDownButton). Select a StatusLabel from the menu. Next, select the ''StatusLabel'' you added and change the ''Text'' property in the ''Properties'' panel to ''Ready''.
Press '''F5''' to build and run the application. When the application runs the new ''StatusStrip'' should appear containing the ''StatusLabel '' with the specified text:
<google>ADSDAQBOX_FLOW</google>
[[Image:visual_basic_status_bar_running.jpg| Visual Basic Application with Status Bar]]