PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Anonymous on May 12, 2004, 08:02:17 PM

Title: Meu separators
Post by: Anonymous on May 12, 2004, 08:02:17 PM
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
Title: Re: Meu separators
Post by: TechSupport on May 12, 2004, 10:19:32 PM
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.
Title: Re: Meu separators
Post by: Anonymous on May 13, 2004, 02:50:00 AM
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