How to show separators in WinForm's StatusStrip control?
2007-08-08 10:33
471 查看
windsurfing_stew:
Hi,
Winforms has the new StatusStrip control that replaces StatusBar in
1.1. I've looked high and low but can't seem to find how to get
separators (|) in my status bar, eg
Info1 | Info2 | Info3 | Info4
where Infos 1 to 4 are StatusLabels.
Any takers?
Stew
Jason Newell:
The "Items Collection Editor" of the StatusStrip control doesn't allow
it, but you can call StatusStrip.Items.Add(new Image()). The image
would be your separator as an embedded resource.
If there's another way to do it, I don't see it.
Jason Newell
<
4000
p>Chris :
Set the border style to Etched and have bordersides Left, Right for the
object in the status strip. This creates the exact look
Hi,
Winforms has the new StatusStrip control that replaces StatusBar in
1.1. I've looked high and low but can't seem to find how to get
separators (|) in my status bar, eg
Info1 | Info2 | Info3 | Info4
where Infos 1 to 4 are StatusLabels.
Any takers?
Stew
Jason Newell:
The "Items Collection Editor" of the StatusStrip control doesn't allow
it, but you can call StatusStrip.Items.Add(new Image()). The image
would be your separator as an embedded resource.
If there's another way to do it, I don't see it.
Jason Newell
<
4000
p>Chris :
Set the border style to Etched and have bordersides Left, Right for the
object in the status strip. This creates the exact look
相关文章推荐
- How to host winform control in IE
- How to host winform control in IE
- [转] How to Show Usual Winform as View in XAF
- In RadGrid, How to get the control inside usercontrol
- how to show sku in product list page?
- How To Call Run() Method of the Microsoft Script Control in C++
- How to call page method in UserControl?
- How to Hook Up a VS.NET 2005 Solution With CruiseControl.NET in a Few Minutes
- 【原创】如何在DataFormWebPart中嵌入自定义控件[How to embeded custom control in DFWP]
- XAF How to show custom forms and controls in XAF (Example)
- How to create a read-only user in TFS source control
- How to version control /etc directory in Linux
- How_to_Handle_Pointer_Events_in_a_Custom_Control(转)
- How to use ComboBox Control in VC++ - 在VC中如何使用 ComboBox 控件
- Know How And When To Use System.Message_Level To Control Messages In Oracle Forms
- How to Take Control of Your Line Height in Outlook.com
- How To Set a Status Flag in One Clock Domain, Clear It in Another
- 学习:How To Use Filters in SharePoint to show items in the current Calendar Month(转)
- How to get control of your time and your life (Alan Lakein.)
- How to use ValidationSummary control in asp.net