Vcl.Controls.IsVCLControl
Delphi
function IsVCLControl(Handle: HWND): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall IsVCLControl(HWND Handle);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
IsVCLControl returns true if a control is a VCL control.
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.