Vcl.Graphics.TGraphicsObject.HandleAllocated

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function HandleAllocated: Boolean;

C++

bool __fastcall HandleAllocated();

Propriétés

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

Description

Indique si l'objet TGraphicsObject a acquis un handle pour l'objet GDI sous-jacent.

Utilisez HandleAllocated pour déterminer si la propriété Handle de l'objet graphique est définie. HandleAllocated indique si l'objet GDI sous-jacent a été acquis. Utilisez HandleAllocated au lieu de lire la propriété Handle. Lorsqu'une application lit la propriété Handle, les descendants de TGraphicsObject créent automatiquement l'objet GDI sous-jacent et renvoient son handle si la propriété n'a pas déjà été définie.

Voir aussi