|Top Previous Next|
Returns object at the position of caret representing item of the given class.
function GetCurrentItemEx(RequiredClass: TCustomRVItemInfoClass;
var ItemRichViewEdit: TCustomRichViewEdit;
var Item: TCustomRVItemInfo): Boolean;
(introduced in version 1.4)
This method is usually used when working with tables.
RequiredClass – the required class of item, set it to TRVTableItemInfo.
ItemRichViewEdit – editor containing this item (table); it can be the main editor, or cell inplace-editor (if this item (table) is in cell of another table).
Item – object representing the item (table)
This method must be called only when the document is formatted.
The method returns True if the output parameters were assigned. In case of tables, it returns True if:
In case of nested tables, this method returns the top level table (the closest to the user in Z-order).
See also methods:
TRichView © trichview.com