RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.HandleNeeded Method

Creates a screen object for the control if it doesn't already exist.

Pascal
procedure HandleNeeded;
C++
__fastcall HandleNeeded();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!