Remove toolbar

Command groupFlag affectedReversibleExecute on clientPlatform(s)
ToolbarsNONONOAll

Syntax

Remove toolbar
 
toolbar-instance

Description

This command removes the specified toolbar instance.

Example

Show docking area
 
kDockingAreaLeft

Install toolbar
 
tbMyToolbar/kDockingAreaLeft

# do something

 
# now remove the toolbar & docking area again

Remove toolbar
 
tbMyToolbar

Hide docking area
 
kDockingAreaLeft

 
# or you do it like this

Do
 
$itoolbars
.
tbMyToolbar
.
$close
()

 
# or if you used notation to install the toolbar

Do
 
$clib.$toolbars
.
tbMyToolbar
.
$open
(
'*'
,
kDockingAreaLeft
)
 
Returns 
lToolBarRef

# use the toolbar reference to close it

Do
 
lToolBarRef
.
$close
()