Vcl.ComCtrls.TToolButton.SetToolBar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetToolBar(AToolBar: TToolBar);

C++

void __fastcall SetToolBar(TToolBar* AToolBar);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolButton

Description

Associates the tool button with a tool bar.

Call SetToolBar to add the tool button to a tool bar. Specify the tool bar as the AToolBar parameter.

If the tool button is already contained by a tool bar, SetToolBar removes the button from its current tool bar before moving it to the new tool bar.

See Also