Using the Process Analyst > Process Analyst for Developers > Automation Model > IProcessAnalyst.Toolbars [Property][Get]

IProcessAnalyst.Toolbars [Property][Get]

Gets a reference to the Toolbars collection. With this object you can browse and modify existing toolbars.

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

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
Dim toolbars As Object
`Retrieve the toolbars collection
Set toolbars = myPage_AN35.Toolbars
End Sub

[Cicode]

FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
OBJECT toolbars;
// Retrieve the toolbars collection
toolbars = _ObjectGetProperty(hProcessAnalyst, "Toolbars");
END