# Toolbar_Detach

int Toolbar_Detach (ToolbarType toolbar);

## Purpose

Releases a docked toolbar from its host panel and makes the toolbar a floating toolbar.

## Parameters

Input
Name | Type | Description
toolbar | ToolbarType | The specifier for the toolbar to detach. Obtain this handle from the Toolbar_New or Toolbar_Duplicate functions.

## Return Value

Name | Type | Description
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.