Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

GetMenuItemEnabled

  • Last UpdatedNov 17, 2021
  • 1 minute read

Use the GetMenuItemEnabled method to check if a specific command in the context menu is enabled.

Syntax

[Result=] aaHistClientTrend.GetMenuItemEnabled(integer itemNumber);

Parameters

itemNumber

The index number of the command. Numbering starts at 0.

Return Value

Returns True if the menu item is enabled; otherwise, returns False.

Remarks

If you specify -1 as the itemNumber parameter, the method checks the status of all items in the menu.

In This Topic
TitleResults for “How to create a CRG?”Also Available in