Control access to features at runtime
- Last UpdatedJun 19, 2024
- 2 minute read
If you right-click on the Alarm Viewer control during run time, a context-sensitive (shortcut) menu appears.

You can control which menu commands are shown in the shortcut menu.
Configure the shortcut menu
-
Right-click the Alarm Viewer control, and then select Properties.
The AlarmViewerCtrl Properties dialog box appears.
-
In the General tab, select the Show Context Sensitive Menu check box.
-
Select Configure Context Menus.
The Context Sensitive Menus dialog box appears.

This dialog box shows a hierarchical list of commands that can appear in an Alarm Viewer control shortcut menu.
-
Configure the shortcut menu options. You must select at least one shortcut menu command.
This command
Allows the run-time user to
Ack Selected
Acknowledge selected alarms. If Ack Selected and Ack Others menu items are both unchecked, the Use Default Ack Comment check box and the text box are disabled.
Ack Others
Acknowledge alarms by other methods. The user can select which alarms to acknowledge. If Ack Others is selected, you must select at least one of the submenu items.
Ack All
Acknowledge all active alarms.
Ack Visible
Acknowledge visible alarms.
Ack Selected Groups
Acknowledge all alarms with the same group name as the selected group(s) and with the same provider name.
Ack Selected Tags
Acknowledge all alarms with the same group name as the selected tag(s) and with the same provider, group, and priority.
Ack Selected Priorities
Acknowledge all alarms with the same priority as the selected priority or priorities and with the same provider and group.
Suppress Selected
Suppress selected alarms.
Suppress Others
Suppress alarms by other methods shown in the shortcut menu.
Suppress All
Suppress all alarms.
Suppress Visible
Suppress all visible alarms.
Suppress Selected Groups
Suppress all alarms with the same group name as the selected group(s).
Suppress Selected Tags
Suppress all alarms with the same tagname as the selected tag(s).
Suppress Selected Priorities
Suppress all alarms with the same priority as the selected priority or priorities.
Unsuppress All
Unsuppress all suppressed alarms.
Query Favorites
Open the Alarm Query dialog box.
Stats
Open the Alarm Statistics dialog box.
Suppression
Open the Alarm Suppression dialog box.
Freeze
Toggle the freeze/unfreeze mode of the Alarm Viewer control.
Requery
Re-run the alarm query.
Sort
Open the Sort dialog box.
-
Select OK.
-
Select Row Selection to enable users to select a row from the Alarm Viewer control during run time.
-
Select Use Extended Selection to enable users to select multiple alarm records simultaneously from the Alarm Viewer control using the SHIFT or CTRL keys.
-
Select Apply.