Vcl.Buttons.TBitBtn.CreateHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CreateHandle; override;

C++

virtual void __fastcall CreateHandle();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Buttons.pas
Vcl.Buttons.hpp
Vcl.Buttons TBitBtn

Description

Creates underlying screen object.

Vcl.Buttons.TBitBtn.CreateHandle inherits from Vcl.Controls.TWinControl.CreateHandle. All content below this line refers to Vcl.Controls.TWinControl.CreateHandle.

Creates underlying screen object.

CreateHandle creates the Microsoft Windows screen object that underlies the control. if it does not already exist. The new window handle becomes the value of the Handle property.

CreateHandle creates or locates the parent control's window before it creates a window for the control itself.

Note: If the Parent property is nil (Delphi) or NULL (C++), CreateHandle raises an exception.

See Also