Status Bar panels

Hema Rawat

Member
Joined
Dec 12, 2005
Messages
24
Location
India
Programming Experience
1-3
Hey All,

I stuck with very little but (big for me) Problem

I want to add the status bar panels in right to left direction

Means My 1ts panel at the rightmostside of status bar then 2nd & 3rd so on.

By default the panels add at the left side
How to make that at right side aligned.


Thanks in advance
 
StatusBar.StatusBarPanelCollection.Insert Method allows to add a statusbarpanel at desired index.
 
You should just add one more StatusBarPanel than you want and make it the first. You then set the other panels' AutoSize property to Contents or None and set the first one to Spring. You may also want to set the BorderStyle property of the first panel to None so it looks like it's not there.
 

Attachments

  • StatusBar.JPG
    StatusBar.JPG
    9 KB · Views: 92
Back
Top