Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Thanks Henry...
The issue still exist and I think I had to explain the issue in detail.
On Windows Form I have drag-n-dropped the status strip with StatusLabel and ToolStripSplitButton items.
The problem as I mentioned in my previous mail, the split button dynamically moves based on status label text length. I dont want to see the split button moving dynamically based on status label text length.

--Jay

*************************************************************************************************************************


How to set static location for ToolStripSplitButton in its parent StatusStrip.
By default it will be added to left side of the control. Even if the property value has set Right, based on status label (used for showing the status messages) text size the control will move dynamically.



Regards
Jay
Posted
Updated 17-Mar-11 3:54am
v2
Comments
Toli Cuturicu 16-Mar-11 17:35pm    
Location is an instance member, not a static one.

1 solution

C#
myToolStrip.Items.Insert(index, myToolStripSplitbutton)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900