IsToolBar()

Syntax

Result = IsToolBar(#ToolBar)
Description
Tests if the given #ToolBar number is a valid and correctly initialized, toolbar.

Parameters

#ToolBar The toolbar to use.

Return value

Returns nonzero if #ToolBar is a valid toolbar and zero otherwise.

Remarks

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, otherwise it will equal zero. This is the correct way to ensure a toolbar is ready to use.

See Also

CreateToolBar()

Supported OS

All

<- GetToolBarButtonState() - ToolBar Index - SetToolBarButtonState() ->