Menu - Interface Object

Description

The Menu Object allows the user to draw a menu in the application and configure expressions to be executed when a node is pressed.  The user can configure the background, border and foreground color, change its thickness and configure a tag in the caption, etc.

Properties and Functions

Info

  • Name
  • Size
  • Location
  • ZIndex
  • Draggable

Configuration

  • Menu Config
  • Text Font
  • Menu Orientation
  • Is Enabled
  • Is Visible
  • ToolTip

Functions

  • .FontColor
 

Inserting a Menu

To create a new Menu in the Graphics Document:

  1. Click the “Menu” option in the Ribbon.
  2. Place the mouse pointer where you want to create the Menu.
  3. Click to create the new Menu.
 

Menu Config

This property configures the Menu Object, inserts new nodes and configures the scripts that will be executed when selected.

To Create a new Item, follow the steps below:

1.   Click the desired Graphic Menu object to select it.

2.   Go to the Configuration area in the Property Grid.

3.   Click the Add New Node to create an Item.

To Create a new Sub Item, follow the steps below:

1.   Select the node.

2.   Click the Add New Node to create a sub Item.

To remove a node, follow the steps below.

1.   Select the node.

2.   Click the Remove Selected node button.

To Rename a node, follow the steps below:

1.   Select the node.

2.   Double-Click on the desired node and insert the new name.

To configure an expression to the node, follow the steps below:

1.   Select the node.

2.   Go to the configuration tab.

3.   In the Selected Item Combobox you can select another Item(Node) to configure.

4.   Insert the desired expression in the Expression field so every time this Menu Item(Node) is selected it will execute the expression.

5.   HotKeys can be configured to execute the expressions.

6.   To configure Icon field, please click on the 3 dots […] Button to select an image for the Menu Item(Node).

Security

It is possible to configure different permissions per profile for this object.  For further information, please check the Security white paper.

Scroll Up