Manage access to features at runtime
- Last UpdatedApr 09, 2025
- 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.
Configure the run-time shortcut menu
-
Right-click the Alarm Tree Viewer control, and then select Properties.
The AlarmTreeViewerCtrl Properties dialog box appears.
-
Select the General tab.
-
Select the Show Context Sensitive Menu checkbox to activate the shortcut menu.
-
Select Configure Context Menus.
The Context Sensitive Menus dialog box appears.

-
Select the checkbox 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.
-
Select OK to close the Context Sensitive Menus dialog box.
-
Select Apply.