Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
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-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated