FMX.Utils.TFMXObjectHelper.FindParent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function FindParent(const AObject: TFMXObject; const AFilter: TFilterFunc; var AResult: TFMXObject): Boolean;

C++

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

Properties

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

Description

Finds the first parent value, which conforms AFilter.

If parent is found, returns true and the parent value in AResult, otherwise returns false and null in AResult.