TdxCustomRibbon.GetTabAtPos(Integer,Integer) Method
In This Article
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 |
---|
Tdx |
#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