Menu Element
Up to three-layer web menus are supported in Logicweb Studio. To build a menu tree, you need to create different types of menu elements and order then properly in a base form. Eight types of menu element are:
  • Main Menu: Holder of a sub menu, no command script;
  • Main Menu Item: Top menu button on the base form, it has command script;
  • Main Menu Separator: Separator in the main menu bar;
  • Sub Main Menu: Holder of a sub-sub menu, no command script;
  • Sub Menu Item: menu button on the sub menu form, it has command script;
  • Sub Menu Separator: Separator in the sub menu form;
  • Sub-sub Menu Item: menu button on the sub-sub menu form, it has command script;
  • Sub-sub Menu Separator: Separator in the sub-sub menu form;
All types of Menu Elements
Figure 1. Eight Types of Menu Elements
Menu Element Attributes
  • Element Name: User friendly name of this menu element;
  • Element Type: Type of the menu element;
  • Display Text: Menu element's display text;
  • Command Script: JavaScript function to handle click event. To retrieve internal data, use the following strings in your script:
    {recId}    : Data record ID;
    {parentId} : Data record's Parant ID;
    {formId}   : Base form ID;
    
  • Image URL: Menu element's image;
  • Menu Tip: Menu element's tooltip;
  • Hot Key: Hot key ( ALT + Key ).