|Top Previous Next|
Returns object representing item at position of caret.
function GetCurrentItem: TCustomRVItemInfo;
(introduced in version 1.4)
The table object is returned if the caret is to the left or to the right of the table, or if several table cells are selected. If the caret is inside table cell, this method returns item contained in this cell. To get the table in this case, use GetCurrentItemEx instead of GetCurrentItem.
This method must be called only when the document is formatted.
When called for an empty editor (i.e. ItemCount=0), the method returns nil.
See also methods:
See also properties:
TRichView © trichview.com