Clear;
The Clear method removes all components located on the toolbar.
Executing the example requires a form, the Button1 button on the form, and the Toolbar component named Toolbar1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
Toolbar1.BeginUpdate;
Toolbar1.Controls.Clear;
Toolbar1.EndUpdate;
End Sub Button1OnClick;
After executing the example clicking the button removes all controls from the toolbar.
See also: