Function TWPCustomRtfEdit.SelectWordAtXY(X:Integer; Y:Integer; Extend:Boolean) : Boolean

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • X:Integer
  • Y:Integer
  • Extend:Boolean

Returns

The type of the result value is Boolean.

Description

Selects a word at this screen coordinates. Returns true if text was found. If Extend = true it also extends a selection from Word to Paragraph.