|
TCustomRichView.OnRVDblClick |
Top Previous Next |
|
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) TRVDblClickEvent = procedure(Sender: TCustomRichView; ClickedWord: String; Style: Integer) of object;
property OnRVDblClick:TRVDblClickEvent; 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 (the value returned by GetItemText) If Style>=0, then this is a text item, and Style is an index in the collection of text styles (RichView.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 user clicks not on item (on background)
See also events: See also properties:
|