<< Click to display table of contents >> TCustomRichView.OnRVDblClick |
Occurs when user double-clicks the primary mouse button when the mouse pointer is above the item in RichView (or on single left-click, if rvsSingleClick is in Options)
type
TRVDblClickEvent =
procedure(Sender: TCustomRichView;
ClickedWord: TRVUnicodeString;
Style: Integer) of object;
property OnRVDblClick:TRVDblClickEvent;
(changed in version 18)
Parameters
Style – style (type) of the clicked item.
If Style<0 then the clicked item is not a text item, and Style is a type of this item (see Item Types). In this case ClickedWord contains a name of this item.
If Style>=0, then this is a text item, and Style is an index in the collection of text styles (Style.TextStyles). In this case ClickedWord is a word below the mouse pointer. "Word" is defined as a part of string between delimiters. Delimiters are listed in Delimiters property.
This event is not generated when the user clicks not on an item (i.e. on a background)
See also events:
See also properties: