Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > ToolBar Control >

ToolBar_DeleteButton

Previous pageReturn to chapter overviewNext page

 

Description

 

Delete a buttons or a separators currently present on the ToolBar

 

Syntax

 

n = ToolBar_DeleteButton(hWnd, ctrlID, [BYCMD] item)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

item

Number

No

The position number of button to be checked.

If BYCMD is specified, the command value is used to identify the button

 

Remarks

 

Restrictions

 

See also

 

Examples