ARTICLE

How to use StatusStrip Control in vb.net

Posted by Dea Saddler Articles | ASP.NET using VB.NET March 17, 2011
In this Article we learn how we can we use the StatusStrip Control in VB.NET.
Download Files:
 
Reader Level:

StatusStrip control of visual basic is a StatusBar control. Which has many extra features in comparison to StatusBar control. StatusStrip has some inbuilt control such as StatusLabel, ProgressBar, DropDownButton SplitButton. You can add these controls on the StatusStrip itself. When we drag and use the StatusStrip control than it shows the options to use the Controls available with it. A StatusStrip control usually displayed at the bottom of the window.
 
Features of StatusStrip control:

  • StatusStrip Control Support two Different type of Layouts which we can use.
  • StatusStrip Control provides support for localization.
  • StatusStrip Control has horizontal and vertical orientation. We can set its orientation to placed it horizontal or vertical.

How you can work with StatusStrip Control

Drag the StatusStrip Control from the ToolBox on the form.
 
StatusStrip1.gif


StatusStrip2.gif


Click on the StatusStrip Control. It will appear like below and select any control.

 
StatusStrip5.gif

Here we are selecting ProgressBar.
 
StatusStrip3.gif

Now write the below code on form load.

   
Private Sub Form1_Load_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        While ToolStripProgressBar1.Value < 100
            ToolStripProgressBar1.Value += 5 
        End While
    End
Sub

Output:

StatusStrip4.gif

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
Team Foundation Server Hosting
Become a Sponsor