Vcl.ComCtrls.TToolBar.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TToolBar(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TToolBar(HWND ParentWindow) : Vcl::Toolwin::TToolWindow(ParentWindow) { }

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

Description

Creates and initializes a TToolBar instance.

Call Create to create a toolbar at runtime. Toolbars added to forms at design time are created automatically.

AOwner is the component, typically the form, that is responsible for freeing the toolbar instance. It becomes the value of the Owner property.

See Also

Code Examples