TdxGalleryControlItems.GetItemAtPos(TPoint) Method
In This Article
Searches the collection for a gallery item located at a specified point.
#Declaration
Delphi
function GetItemAtPos(const P: TPoint): TdxGalleryControlItem;
#Parameters
Name | Type |
---|---|
P | TPoint |
#Returns
Type |
---|
Tdx |
#Remarks
The P parameter specifies the point (in client coordinates) to be inspected. If this point falls within the bounds of a collection item, this item is returned as the function’s result. Otherwise, the function returns nil.
See Also