Vcl.Controls.TWinControl.HandleNeeded
Delphi
procedure HandleNeeded;
C++
void __fastcall HandleNeeded();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Creates a screen object for the control if it doesn't already exist.
Call HandleNeeded to create a screen object for the control.
If the screen object does not exist, HandleNeeded calls the CreateHandle method for the parent of the control before it creates a screen object for this control.