Managing Access to Features at Runtime
- Last UpdatedApr 11, 2022
- 1 minute read
The Alarm Tree Viewer control includes a shortcut menu that operators can open by right-clicking on the control during run time. You can configure what commands appear on the menu.
To configure the run-time shortcut menu
-
Right-click the Alarm Tree Viewer control, and then click Properties.
The AlarmTreeViewerCtrl Properties dialog box appears.
-
Click the General tab.
-
Select the Show Context Sensitive Menu check box to activate the shortcut menu.
-
Click Configure Context Menus.
The Context Sensitive Menus dialog box appears.

-
Select the check box for each command that you want to appear in the shortcut menu. You must select least one shortcut command.
Command
Description
Refresh
Refreshes the data shown in the Alarm Tree Viewer control.
Freeze
Allows you to toggle the freeze/unfreeze mode of the tree.
Query Favorites
Shows the Alarm Query dialog box to select a query favorite from an available list.
Add to Favorites
Allows you to add new queries from the Add Query dialog box.
Sort
Shows the Sort dialog box to sort Alarm Tree Viewer control data in ascending or descending order
Statistics
Shows the Alarm Statistics dialog box with the percentage of current retrieved alarm providers shown in the Alarm Tree Viewer control.
-
Click OK to close the Context Sensitive Menus dialog box.
-
Click Apply.