|
TCustomRichView.GetFocusedItem |
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:
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). ARVData can be TRichView.RVData or table cell. 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.
See also:
|