Vcl.Controls.IsVCLControl

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function IsVCLControl(Handle: HWND): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsVCLControl(HWND Handle);

Propriétés

Type Visibilité  Source Unité  Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

IsVCLControl renvoie true si un contrôle est un contrôle VCL.

IsVCLControl renvoie true si le contrôle visuel spécifié par le Handle Windows est un composant VCL. Sinon, la valeur false est renvoyée.

Utilisez FindControl pour obtenir une référence au contrôle via son handle.

Voir aussi