Creating A New Custom Menu; Adding Commands To Existing Menus; Associating An Icon With A New Command; Adding A Command To A Context Menu - AMX NetLinx Studio Instruction Manual

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Customize dialog - Menu tab options
Application Frame
Menus:
Context Menus:

Creating a New Custom Menu

1.
Select New Menu from the Categories list. This places the "New Menu" entry in the Commands list. This item
represents a new "empty" menu.
2.
Click to select New Menu (under Commands).
3.
While holding the mouse button down, drag the New Menu icon to a location within the Menu Bar.
4.
Release the mouse button to create the new (empty) menu at the cursor location.
5.
To name the new menu, right-click on the menu to open the Command context menu, and select Button
Appearance. This opens the Button Appearance dialog. Type the name for the new menu in the Button Text field
and press OK.
6.
Select a command category (under Categories) to display a set of commands (under Commands).
7.
Add commands to the new menu by clicking and dragging commands from the Commands list to the new menu.
8.
Release the mouse button to place the selected command in the new menu.

Adding Commands to Existing Menus

1.
Open the menu that you want to add command(s) to.
2.
Select a command category (under Categories). The commands included in the selected category are displayed
(under Commands), along with their associated toolbar icon, if one exists. Alternatively, select All Commands to
view a full list of all commands, regardless of category.
3.
Click to highlight a command/icon (under Commands).
4.
While holding the mouse-button down, drag the command/icon to the open menu.
5.
Position the command/icon right where you want to drop it in the menu, and release the mouse button.
6.
The command/icon is placed as a new option in the menu.

Associating an Icon with a New Command

Once you have added a new command to a toolbar or menu, you can associate an icon with the command:
1.
For toolbar buttons, right-click on the select the button that you want to associate an icon with. For menu items,
right-click on a menu item to open the Command context menu.
2.
Select Button Appearance to open the Button Appearance dialog.
3.
In the Button Appearance dialog, select Image Only or Image and Text (the Text Only option does not allow you
to associate an icon).
4.
Select an icon from the User-Defined Image field.
5.
Click OK.

Adding a Command to a Context Menu

1.
Select a context menu from the drop-down list of available context menus.
2.
While holding the mouse button down, drag the menu item to any area outside of a menu. Note that the cursor
symbol changes to an "x" when the menu item is dragged outside of the menus.
3.
Release the mouse button to delete the item from the menu.
Alternatively, as long as the Customize dialog is open, you can simply right-click on any menu item to open the
Command context menu. Select Delete to delete the button.
NetLinx Studio - Instruction Manual
Click the down-arrow next to the Show Menus For drop-down menu to select the application menu
that you want to customize. The options in this drop-down menu are:
• TXT: Select to customize the context menu available for Text (*.txt) files.
• AXS / AXI / AXB / LIB: Select to customize the context menu available for Source Code files.
• Default Menu: Select to customize the context menu available when no documents are open.
Click the Select Context Menu down-arrow to open a drop-down list of the TPD4 context menus
(context menus are accessed via a right-mouse (for example, a right mouse click on any thumbnail
in the State Manager window opens the State Manager context menu).
To customize the selected menu type, select a context menu, open the Commands tab, and drag
the toolbar buttons into the menu window.
Setting Program Preferences
215

Advertisement

Table of Contents
loading

Table of Contents