Creating a Status Bar
The last control I'm going to show you is the Status Bar control. The status bar isn't nearly as fancy, or even as useful, as other controls, such as the Toolbar or the Main Menu (but it's also not as difficult to work with). Nevertheless, a status bar adds value to an application in that it makes available information, and users have come to expect it. In its simplest form, a status bar displays a text caption and sizing grip—the three diagonal lines to the right of the control that the user can drag with the mouse to change the size of the form.
Add a new status bar to the form now by double-clicking the StatusBar item in the toolbox. Change the name of the status bar to sbrMyStatusBar. The Text property determines the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access