Actions section.
In this section, you may create and describe the user's context menu. Since an object may not have the user's context menu, this section may be missing in the table.
To add this section to the table:
- Open the context menu in the table window and select
Insert Sections from the menu.
- This will bring up the Insert Sections dialog box. From the
dialog, check the Actions box and click OK. The Actions section
will be added to the table. Initially, it has one row (that is,
one menu item).
Sometimes it may be possible that the Actions section already
exists in the table, but is not visible.
To make the Actions section visible:
- Open the context menu in the table window, and select View
Sections from the menu.
- The View Sections dialog will come up. From the dialog, check
the Actions box and click OK. The Actions section appears in the
table.
Each row in the section corresponds to a user's menu item.
To add a new menu item:
Open the context menu for the section you want, and select
Add Row. A new row will be added to the end of the section.
To delete a menu item :
Open the context menu for the row you want to delete, and
select Delete Row. This will delete the row that describes this
user's menu item. Removing the last row removes the entire
section with it.
Action
This field determines the action the program takes when the menu item is clicked. For instance, clicking the menu item can assign a value to a parameter of the object: _SETF("Variables.X4";0.2). To create the line, that separates one menu item from another separator, input in this field any number other than 0.
Menu
Type the name of the menu item here. The name must be enclosed in quotation marks.
Prompt
The text that will appear on the status bar when you position the pointer over the menu item. The text must be in brackets.
Checked
The flag that defines whether the check sign on the left of the menu item should be displayed.
TRUE - show the check sign;
FALSE - don't show the check sign.
Disabled
The flag that disables the menu item (when disabled, the item appears in grey and can't be selected).
TRUE - disable the menu item;
FALSE - enable the menu item.