Status Bars
The StatusBar control can be used to display a status bar on a form. The StatusBar control has a Panels property that can be accessed at runtime. It represents a collection of individual StatusBarPanel objects. The StatusBarPanel class defines several properties that can be used to manipulate the panels, including the following:
Alignment controls whether text in a panel is left, center, or right aligned.
Autosize controls whether the panel automatically sizes itself to occupy the remaining area on the status bar. Choices include None and Spring.
BorderStyle controls the type of border used for the panel.
Text controls the contents of the panel.
Width and MinWidth control the width (in pixels) of the panel.
Step 1: Adding the StatusBar ...
Get Application Development Using Visual Basic® and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.