Note: You can access the Menu Designer only while editing HTMPL forms with a name beginning with “menubar_”, such as menubar_admin.htmpl.
The Menu Designer dialog appears when you select Menu Designer from the Tools menu, or double-click the menu shown in the Design tab of a menubar form. Use the Menu Designer dialog to add a menu bar, menus, submenus, and menu commands to the open form. The Menu Editor dialog contains the following controls:
From the menu list, select the menu item you want to change. To change the menu label, for example, select a menu label from the list, type a new name in the Caption text box, and click Apply.
Click to add a new item to the end of the menu list.
Click to insert a new item above the selected item in the menu list.
Click to delete the selected item from the menu list.
Click to move the selected menu item up one level.
Click to move the selected menu item down one level.
Click to move the selected menu item one level to the right, for example, to define the item as a submenu or command instead of a menu.
Click to move the selected menu item one level to the left, for example to define the item as a menu instead of a submenu or command.
Note: Only one level of indentation is possible.
Enter the name for the selected menu item. See the Caption property for more information.
Enter the JavaScript function to execute when the user clicks the menu. See the description of the Function property for more details, including some pre-defined functions that maybe useful in menus.
Enter the HTML/JavaScript id to be assigned to the menu item.
Enter a list of characters directing CA SDM’s selection of the hotkey for this menu item. The hotkey is underlined in the menu caption when it is displayed. CA SDM typically selects the first key in the menu caption not already in use as a hotkey. You can specify one or more characters here to restrict the selection to those characters, or specify one or more characters preceded by an explanation point to prevent selection of those characters.
Enter the location of the image that you want to appear next to the menu item.
Select this option to specify that the JavaScript invoked by the function should be executed in the context of the current window (which could be a pop-up detail window). Leave this option unchecked to specify that the function should be executed in the context of the main form.
Enter the JavaScript variable to be assigned to the menu item.
Adds a tool bar icon and tooltip that corresponds to a non-top-level menu item.
Identifies the location of the Tool Bar icon.
Specifies the tooltip text.
Click to close the dialog and save your changes.
Click to close the dialog without saving changes.
Copyright © 2013 CA.
All rights reserved.
|
|