Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleUse a status bar
DescriptionThis example shows how to use a status bar in Visual Basic 6. It uses the StatusBar control's Panels collection to access a Panel's Text property.
KeywordsStatusBar, status bar, Panel, Panels
CategoriesControls
 
When the user clicks an option button, the program displays the choice in the StatusBar's first panel. It uses the Panels collection to access the first Panel, and sets its Text property to the choice number.
 
Private Sub Option1_Click(Index As Integer)
    StatusBar1.Panels(1).Text = "Choice: " & Format$(Index)
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated