Autor Beitrag
Akula
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Sa 01.03.08 01:58 
Hallo,

mir ist schon öfters aufgefallen, das bei bestimmten Programmen die MenüStrip's Unterteilungen in Form von Strichen haben. Ich frage mich nur, wie ist das Möglich, da mir noch nichts aufgefallen ist, wie man das in C# einstllen kann.

Gruß Akula
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Sa 01.03.08 13:20 
Anstatt einem ToolStripMenuItem mußt du ein ToolStripSeparator nehmen.

Im Menudesigner kannst du einfach einfach ein - (Bindestrich) für ein neues Menuitem als Text eintragen und du bekommst einen Separator. Im ContextMenü des Menudesigners sollte es auch eine Eintrag geben zum direkten Einfügen eines Separator.
Im engl. VS2008 ist das unter Insert/Separator.