TTMSFNCTabSet.XYToTab Method
Returns the tab display information at the specified control coordinates.
API unit family: TMSFNCTabSet
Declaring type: TTMSFNCTabSet
Inherited from: TTMSFNCCustomTabSet
Syntax
function XYToTab(X, Y: Single; AExcludeTab: TTMSFNCTabSetTab = nil): TTMSFNCTabSetDisplayTab; virtual;
Parameters
| Name | Description |
|---|---|
X |
Horizontal coordinate in control client pixels. |
Y |
Vertical coordinate in control client pixels. |
AExcludeTab |
Optional tab to ignore during hit testing. |
Returns
The display-tab record at the coordinates, or an empty record when no tab is hit.