|Top Previous Next|
Selects word at the specified point for copying to clipboard. If there is non text item at this point (such as picture), this item becomes selected.
procedure SelectWordAt(X,Y: Integer);
"Word" is defined as a part of string between delimiters. Delimiters are listed in Delimiters property.
This method repaints document.
In RichViewEdit this method moves the caret to the end of the selected word.
The method generates OnSelect event.
(X,Y) – client coordinates (coordinates relative to the top left corner of RichView window).
This method must be called only when the document is formatted.
Note: RichView can automatically select double-clicked word, if rvoDblClickSelectsWord is in Options.
See also events:
See also properties:
See also methods:
See also methods of TRichViewEdit:
TRichView © trichview.com