C# School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a C# Expert!

Join 300,406 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,657 people online right now. Registration is fast and FREE... Join Now!




Making a vertical menuStrip?

 

Making a vertical menuStrip?

papuccino1

2 Jul, 2009 - 07:07 PM
Post #1

C# Programmer
Group Icon

Joined: 2 Mar, 2008
Posts: 943



Thanked: 33 times
Dream Kudos: 50
My Contributions
Hi guys! biggrin.gif

I finally quit WoW (urgh...had me for 1 whole month, what a waste of time) and I want to begin coding what I left off.

How could I make a vertical menuStrip that's oriented to the left hand side of my window?

I've already changed:

LayoutStyle = VerticalStackWithOverflow
Dock = Left

This gives me what I'm looking for to an extent. I need to actually POSITION these little "buttons" (is that what they're called) precisely where I want them to be.

Right now they all scrunch up to the top left area of the menuStrip leaving a big fat chunk of empty space in the menuStrip.

Thank you for any assistance.

User is offlineProfile CardPM
+Quote Post


SixOfEleven

RE: Making A Vertical MenuStrip?

2 Jul, 2009 - 07:59 PM
Post #2

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 2,910



Thanked: 165 times
Dream Kudos: 725
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
QUOTE(papuccino1 @ 2 Jul, 2009 - 09:07 PM) *

Hi guys! biggrin.gif

I finally quit WoW (urgh...had me for 1 whole month, what a waste of time) and I want to begin coding what I left off.

How could I make a vertical menuStrip that's oriented to the left hand side of my window?

I've already changed:

LayoutStyle = VerticalStackWithOverflow
Dock = Left

This gives me what I'm looking for to an extent. I need to actually POSITION these little "buttons" (is that what they're called) precisely where I want them to be.

Right now they all scrunch up to the top left area of the menuStrip leaving a big fat chunk of empty space in the menuStrip.

Thank you for any assistance.


Here is what you can look into. There is the Items collection in the properties click the (...). You can play around with the padding values of the different items, increasing the padding of the different items will space them out.

Attached Image
User is offlineProfile CardPM
+Quote Post

papuccino1

RE: Making A Vertical MenuStrip?

3 Jul, 2009 - 05:11 AM
Post #3

C# Programmer
Group Icon

Joined: 2 Mar, 2008
Posts: 943



Thanked: 33 times
Dream Kudos: 50
My Contributions
Thanks Jamie, just what I was looking for! biggrin.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 10:54PM

Live C# Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month