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

AVEVA™ Plant SCADA

MenuNodeGetExpanded

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the expansion state value of the specified menu node in number. The expansion state value is user defined can be any integer value. The value is set by MenuNodeSetExpanded function and the initial value is zero(0).

Syntax

MenuNodeGetExpanded(hNode)

hNode:

Handle to the current node in the menu tree.

Return Value

The expansion state value to set for the Menu node or -1 if unsuccessful.

MenuGetChild, MenuGetFirstChild, MenuGetGenericNode, MenuGetNextChild, MenuGetPageNode, MenuGetParent, MenuGetPrevChild, MenuGetWindowNode, MenuNodeAddChild, MenuNodeGetCurr, MenuNodeGetDepth, MenuNodeGetProperty, MenuNodeGetTargetPage, MenuNodeHasCommand, MenuNodeIsDisabled, MenuNodeIsHidden, MenuNodeRemove, MenuNodeRunCommand, MenuNodeSetDisabledWhen, MenuNodeSetHiddenWhen, MenuNodeSetProperty, MenuReload

Example

MenuNodeSetExpanded(100, 99)

//Put 99 as an expansion state of the menu node handle 100

MenuNodeGetExpanded(100)

//This will return 99 that is stored by the previous call

See Also

Menu Functions

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