Skip to main content

TdxGalleryControlGroups.GetGroupAtPos(TPoint) Method

Searches visible gallery groups of the current collection for a gallery group located at a specified point.

Declaration

function GetGroupAtPos(const P: TPoint): TdxGalleryControlGroup;

Parameters

Name Type
P TPoint

Returns

Type
TdxGalleryControlGroup

Remarks

The P parameter specifies the point (in client coordinates) to be inspected. If this point falls within the bounds of one of the visible groups stored in the current collection, this gallery group is returned as the function’s result. Otherwise, the function returns nil.

See Also