<<

Contents

Search

>>

 

REMOVE_TOOLBAR

 

 

Function

 

 

Syntax:

REMOVE_TOOLBAR(<Handle of Toolbar>)

 

<Handle of Toolbar> = <NUM-EXPRESSION>

 

Meaning:

Removes the toolbar with the handle <Handle of Toolbar>.

 

REMOVE_TOOLBAR returns the result 1 if the icon bar exists and could be removed, otherwise –1.

 

Parameter:

Handle of Toolbar

Handle of Toolbar

 

Sample:

/* Create Toolbar

NO% = ADD_TOOLBAR("@ebussave.gif|Save;;ebusnew.gif|New"

IF NO% < 0

THEN … Error …

ENDIF

…

/* Remove Toolbar

H% = REMOVE_TOOLBAR(NO%)

IF H% <> 1

THEN … Error …

ENDIF

 

See also:

ADD_TOOLBAR

EBUS_TOOLBAR_ADJUST_WINDOW

ADD_TOOLBAR_ICON

REMOVE_TOOLBAR_ICON

ENABLE_TOOLBAR_ICON