Menu Builder and submenues

J. Landman Gay jacque at hyperactivesw.com
Tue Mar 31 14:10:45 EDT 2015


On 3/30/2015 4:47 PM, Dr. Hawkins wrote:
> Schedules
> <tab>A/|A
> <tab>B/|B
>
> I don't see why it has the /

Whatever follows the slash will become the keyboard shortcut. Whatever 
follows the pipe will be the "label" of the menu, so that you can 
localize the menus without changing their actual names. That way the 
scripts will always work but the user will see their own language.

You can omit both the slash and the pipe, and provide only the menu 
name. You can provide a menu name and a slash-shortcut without the pipe. 
But if you want the pipe label, the slash has to be there as a place 
holder -- which is the case in your example. The examples indicate no 
keyboard shortcuts but do have labels. But since the labels are the same 
as the names in this case, you could omit both the extra indicators.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list