|Top Previous Next|
Returns the item having keyboard focus.
procedure GetFocusedItem(var ARVData: TCustomRVFormattedData;
var AItemNo: Integer);
There are two types of items which can have keyboard focus:
▪hypertext (text or pictures)
If hypertext item has focus, pressing Enter invokes OnJump event for the focused link.
This method returns the focused item (the AItemNo-th item of ARVData object).
This method must be called only when the document is formatted.
If ARVData=nil, there is no focused item.
Focused items are supported only in TRichView, not in TRichViewEdit.
TRichView © trichview.com