FMX.Utils.TFMXObjectHelper.GetParent

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class function GetParent(const AObject: TFMXObject; const AFilter: TFilterFunc): TFMXObject;

C++

__classmethod Fmx::Types::TFmxObject* __fastcall GetParent(Fmx::Types::TFmxObject* const AObject, const System::DelphiInterface<System::Sysutils::TFunc__2<Fmx::Types::TFmxObject*,bool> > AFilter);

Propriétés

Type Visibilité  Source Unité  Parent
function public
FMX.Utils.pas
FMX.Utils.hpp
FMX.Utils TFMXObjectHelper


Description

Renvoie le premier parent, conforme à AFilter.

Si la parent est trouvé, renvoie la valeur du parent ; sinon, déclenche l'exception ESearchException.

Voir aussi

FMX.Utils.TFMXObjectHelper.ESearchException