Vcl.ComCtrls.TCoolBar.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

Properties

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

Description

Creates and initializes a TCoolBar instance.

Call Create to create a cool bar at runtime. Cool bars added at design time are created automatically.

AOwner is the component that is responsible for freeing the cool bar instance. Typically, this is the form. It becomes the value of the Owner property.

Create generates a TCoolBar object and initializes its properties. If COMCTL32.DLL cannot be found, Create raises the EComponentError exception.

See Also

Code Examples