Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomRibbon.GetTabAtPos(Integer,Integer) Method

Returns the Ribbon tab by its relative screen coordinates.

#Declaration

Delphi
function GetTabAtPos(X: Integer; Y: Integer): TdxRibbonTab;

#Parameters

Name Type
X Integer
Y Integer

#Returns

Type
TdxRibbonTab

#Remarks

The point’s position should be specified within the boundaries of the tab title’s rectangle.

If the specified coordinates are outside the rectangle’s boundaries, nil is returned.

X and Y specify relative screen coordinates of the tested point.

See Also