FMX.ListView.Types.TListItem.ObjectAtPoint
Delphi
function ObjectAtPoint(const Point: TPointF): TControl;
C++
Fmx::Controls::TControl* __fastcall ObjectAtPoint(const System::Types::TPointF &Point);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.ListView.Types.pas FMX.ListView.Types.hpp |
FMX.ListView.Types | TListItem |
Description
Returns the TControl object at the coordinates specified in Point
.
ObjectAtPoint iterates through all the items in the list until it finds an item located at the specified coordinates. In case any list object is found at the specified coordinates, ObjectAtPoint returns nil.