FMX.Utils.TFMXObjectHelper.GetParent

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

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

Description

Returns first parent, which conforms AFilter.

If parent is found returns the parent value, otherwise raises the ESearchException exception.

See Also

FMX.Utils.TFMXObjectHelper.ESearchException