Gizmo Type: menugizmo |
Content |
|||||||||||
|
Description |
|
|
The Menu Gizmo is a key functional element with regard to the LabVantage 8.x Layout and functionality. If you perform a new (clean) installation, all top navigation Menus are defined in different Menu Gizmos, and each Tramline Sitemap page points to a corresponding Menu Gizmo. If upgrading from a previous LabVantage version, the existing Tabs and Menus found in the old Layout will be migrated to these new Menu Gizmos.
The definition of a Menu Gizmo is straightforward. The title and Icon for the Menu are specified in the Gizmo Common Properties. The Menus and Tabs are defined in the Menu collection and subsequent Tabs Collection. The Menus let you specify a URL and color. The Tabs let you specify only a URL.
The Menu Gizmo also allows a single item from the Tabs to be specified to create a one-dimensional Menu from it. This helps you reuse an existing menu (such as System Admin) and show only a single sub-menu (such as the Web Page Designer menus). To accomplish this, select the Menu Type as Single Item. If you want your menu to appear in the Menu Picker Gizmo (in the top right corner covered in next section), make certain the "Show In Menu Picker" is set to Yes.
The Menu Gizmo is not used only in the Menu Bar and Sidebar, but throughout the application. Examples include the Profile menu, the cog menus, the Navigation Bar, and it is reused by the Menu Picker Gizmo and Recent Items Gizmo to display the Menu. This is done through the custom menu property list, which can be passed to the Menu Gizmo class.
Properties |
|
|
Property Name | Description | ||||||||||||||||||||||||||||||||
Gizmo Properties | Defines high-level characteristics of the Gizmo:
|
||||||||||||||||||||||||||||||||
Menu | Details concerning the Menus:
|
||||||||||||||||||||||||||||||||
Menu Type | Determines whether this is a full Menu (with Menu Items) or a single Menu Item. | ||||||||||||||||||||||||||||||||
Selected Menu | Menu selected by default. | ||||||||||||||||||||||||||||||||
Show In Menu Picker | Determines if the Menu is shown in the menupicker Gizmo. | ||||||||||||||||||||||||||||||||
Sitemap Rendering Mode | Determines whether the Sitmap renders as "Modern" ("subway-map" style tramlines) or "Cards" (tabular tramstops). See LabVantage User Interface → Layout for examples. |