RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Controls.IsVCLControl Function

IsVCLControl returns true if a control is a VCL control.

Pascal
function IsVCLControl(Handle: HWnd): Boolean;
C++
Boolean IsVCLControl(HWnd Handle);

Controls

IsVCLControl returns true if the visual control specified by the Windows Handle is a VCL component. Otherwise, false is returned.  

Use FindControl to get a reference to the control via its handle. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!