|
TCustomRichView.GetItemAt |
Top Previous Next |
|
Returns item at the position X,Y. function GetItemAt(X, Y: Integer; var RVData: TCustomRVFormattedData; var ItemNo, OffsetInItem: Integer; Strict: Boolean): Boolean;
Input parameters: X,Y – coordinates relative to the top level corner of document (scrollable area) Strict:
Output parameters: RVData – object containing this item (RichView.RVData or table cell or RVData of cell inplace editor) ItemNo – index of item (in the items list of RVData), or -1 if no item was found. OffsetInItem – position of this item:
Return value: "item found?"
This method must be called only when the document is formatted.
See also: See also events:
Demo projects:
|