Closes a currently open toolbar collection.
Rhino.CloseToolbarCollection (strName [, blnPrompt])
strName |
Required. String. The name of a currently open toolbar collection. |
blnPrompt |
Optional. Boolean. If True, then the user will be prompted to save the collection file if it has been modified prior to closing. If False, then the collection file is closed without saving. The default value is False. |
Boolean |
True or False indicating success or failure. |
Null |
On error. |
Dim arrNames, strName
arrNames = Rhino.ToolbarCollectionNames
If IsArray(arrNames) Then
For Each strName in arrNames
Rhino.CloseToolbarCollection strName, True
Next
End If