Verifies that a visible toolbar in a currently open toolbar collection is docked.
Rhino.IsToolbarDocked (strName, strToolbar)
strName |
Required. String. The name of a currently open toolbar collection. |
strToolbar |
Required. String. The name of a toolbar in the collection to verify. |
Boolean |
True or false indicating success or failure. |
Null |
On error. |
Dim rc
rc = Rhino.IsToolbarDocked("Default", "Main1")
If rc = True Then
Rhino.Print "The Main1 toolbar is docked."
ElseIf rc = False Then
Rhino.Print "The Main1 toolbar is not docked."
Else
Rhino.Print "The Main1 toolbar is not visible."
End If