Using the Process Analyst > Process Analyst for Developers > Automation Model > IToolbar.Buttons [Property][Get]

IToolbar.Buttons [Property][Get]

Gets this Toolbars collection of Buttons.

Defined As

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