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

AVEVA™ Plant SCADA

IToolbar​.Buttons [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets this Toolbars collection of Buttons.

Defined As

  • [VBA] Object Buttons

  • [Cicode] OBJECT Buttons

  • [C++] IToolbarButtons* Buttons

Execution Result

If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.

Calling Syntax

This example assumes there is a valid Toolbar object as retrieved from a Process Analyst's Toolbars collection. (for example, VBA: ProcessAnalyst.Toolbars.Item(1))

[VBA]

Sub Example(Toolbar As Object)
Dim buttons As Object
`Getting Property value
Set buttons = Command.Buttons
End Sub

[Cicode]

FUNCTION Example(OBJECT hToolbar)
// Getting property value
OBJECT hButtons = _ObjectGetProperty(hToolbar, "Buttons");
END

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