TiPlotComponent.DeleteToolBar

TiPlotComponent See Also

Deletes a specific toolbar object.

procedure DeleteToolBar(Index : Integer);

Description

Call DeleteToolBar to delete a specific toolbar object by specifying the index of the object. To delete all toolbar objects, call RemoveAllToolBars.

Currently, only one toolbar object is supported at this time and the multiple toolbar interface is for future expansion. The ToolBarCount, AddToolBar, DeleteToolBar, and RemoveAllToolBars are reserved for property editors at this time. Always use an Index of zero when accessing the toolbar.

Example

Delphi

iComponent.DeleteToolBar(0); //Deletes the 1st Object

C++ Builder

iComponent->DeleteToolBar(0); //Deletes the 1st Object

Note: Index is zero based.

Contents | Index | Previous | Next