Using the Process Analyst > Process Analyst for Developers > Automation Model > IPanes.RemoveAll [Method]

IPanes.RemoveAll [Method]

Removes every Pane from this Pane collection.

Defined As

Execution Result

If the method succeeds, the return value will be Success. If the panes collection is deleted, the return value will be GeneralFailure.

Calling Syntax

This example assumes there is a valid Panes collection object to be passed into the example methods.

[VBA]

Sub Panes(Buttons As Object)
Panes.RemoveAll()
End Sub

[Cicode]

FUNCTION Example(OBJECT hPanes)
_ObjectCallMethod(hPanes, "RemoveAll");
END