Book a Demo

Author Topic: Separator in c# Addin  (Read 5052 times)

Dieter Goetz

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-1
    • View Profile
Separator in c# Addin
« on: April 02, 2013, 06:30:53 pm »
How can I add a separator line to the menu of a c# addin?
I tried a string like "---" but it doesn't look professional.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Separator in c# Addin
« Reply #1 on: April 02, 2013, 07:58:38 pm »
I don't think you can.

Geert

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Separator in c# Addin
« Reply #2 on: April 02, 2013, 09:51:19 pm »
Are you referring to a horizontal line between menu options?

If so try this

[highlight]menuOptions = new String[] {"&My Addin",
                                        "-",
                                        "&About" };[/highlight]


The "-" should give you the horizontal line separator

Cheers

Phil
Models are great!
Correct models are even greater!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Separator in c# Addin
« Reply #3 on: April 02, 2013, 09:54:01 pm »
And apparently I was wrong  :D

Geert

Dieter Goetz

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-1
    • View Profile
Re: Separator in c# Addin
« Reply #4 on: April 03, 2013, 12:28:19 am »
Hi Phils,

that's what I was looking for. Thanls.

Dieter