[SOLVED] Menu Separator

Answered
0
0

Hi,

A little question about menu items.

I have added a MenuBar in my MDI window. At design time i have added some Menu items and all work fine. But I don’t able to insert a separator item in my menus. Im not find in Menu Editor how to insert the separator between two menu items.
Thanks in advance

  • You must to post comments
Best Answer
0
0

Hi Angelo,

you have to assign an “-” to the Text property of a MenuItem. Wisej will change the style to a separator.

Snippet

this.menuItem4.Text = "-";

Best,
Jens

Attachment
  • You must to post comments
0
0

Hi Jens,

Very Simple, Work perfectly.
Thank You very much

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.