TTMSFNCCustomTabSet.XYToCloseTab Method
Returns the tab whose close button contains the specified coordinates.
API unit family: TMSFNCTabSet
Declaring type: TTMSFNCCustomTabSet
Syntax
function XYToCloseTab(X, Y: Single): TTMSFNCTabSetDisplayTab; virtual;
Parameters
| Name | Description |
|---|---|
X |
Horizontal coordinate in control client pixels. |
Y |
Vertical coordinate in control client pixels. |
Returns
The display-tab record for the close button hit, or an empty record when none is hit.