rvico TRichView Reference | TRichView

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)

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:

OnRVRightClick.

See also properties:

Delimiters.

 

 


TRichView © trichview.com