TTMSFNCDataGridFNCButtonCell.XYToAnchor Method
Returns the anchor (
href) under the given position in the HTML text of the cell.
API unit family: TMSFNCDataGridCell
Declaring type: TTMSFNCDataGridFNCButtonCell
Inherited from: TTMSFNCDataGridCell
Syntax
function XYToAnchor(X, Y: Single): string;
System::UnicodeString __fastcall XYToAnchor(float X, float Y);
Remarks
The text is laid out in TextRect with the layout font and alignment, without word wrapping.
Parameters
| Name | Description |
|---|---|
X |
Horizontal position in the grid's local coordinate space (the same space as Rect). |
Y |
Vertical position in the grid's local coordinate space. |
Returns
The anchor target at the position, or an empty string when the text is not HTML or no anchor is hit.