I would like to have a vertical toolstrip docked on the left of a C# windows form. After many hours of frustration experimenting, I have not been able to accomplish this.
Any ideas greatly appreciated.
Thanks
Mike :wave:
Printable View
I would like to have a vertical toolstrip docked on the left of a C# windows form. After many hours of frustration experimenting, I have not been able to accomplish this.
Any ideas greatly appreciated.
Thanks
Mike :wave:
I will only be suggesting the obvious here, since you have not posted code tried that did not work:
have you tried Control.Anchor yet?
Regards,Code:ToolStrip.Anchor = AnchorStyles.Left;
There's not much to post on this. You simply drag a toolstrip from the ToolBox onto the Form in the Design View. The problem is not how to get a toostrip full of buttons to anchor (there's a tool to do that), but how to get the toolstrip to align vertically.
I have tried virtually every property of the toolstrip but cannot get it to behave so that a single column of toolstrip buttons lines up vertically along the left side of the form window.
Any other ideas greatly appreciated.
Mike
Hey Mike,
I know it is very frustrating. But luckily I have found how to do it. If you have not figured it out, let me know I will post snapshots of exactly what to do.
Cheers !
TTake a toolstrip and place it wherever you want it and align it on the left side vertically. Then add some buttons to it
when thios is done use the codeview of the method InitializeComponents() and look, jow the designer designed that
And you will have your needed code
:ehh:
The designer code always can be used to learn how something is done
I attached the code into here:ehh:
Keep in mind chintanvj, this thread is 5 YEARS OLD. Please do not revive old threads.