Meu separators

Started by Anonymous, May 12, 2004, 08:02:17 PM

Previous topic - Next topic

Anonymous

When using the menu editor it is sometimes necessary to add a separator bar between menu items - signified by a minus sign in the menu text.

As separators are never used for event purposes the name of the separator is immaterial.

It's a right royal pain in the butt for the user to "invent" a name for a separator item, so whenever the user enters a "-" for menu text would it be possible for FireFly to create a unique name for that menu item, if the separator name is currently blank?

Andrew

TechSupport

Quote from: kazmaxAs separators are never used for event purposes the name of the separator is immaterial.
That is not always true. A name for a separator can be useful if you need to show or hide the separator via code. For example, if you have a list of Most Recently Used file items you may want to separate them from the rest of the menu via a separator. If there are no items in the MRU list then you will need to hide the separator.

QuoteIt's a right royal pain in the butt for the user to "invent" a name for a separator item, so whenever the user enters a "-" for menu text would it be possible for FireFly to create a unique name for that menu item, if the separator name is currently blank?

Agreed. FireFly should be able to determine a suitable default name based on any other separators that may exist in the menu structure.

Anonymous

Quote from: TechSupport
Quote from: kazmaxAs separators are never used for event purposes the name of the separator is immaterial.
That is not always true. A name for a separator can be useful if you need to show or hide the separator via code.

Good point which I had overlooked.

Andrew