Function TWPRTFDataCursor.SelectToHere(DestPar:TParagraph; DestPosInPar:Integer; MouseMove:Boolean; NoAutoSelExtension:Boolean) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCursor

Parameters

  • DestPar:TParagraph
  • DestPosInPar:Integer
  • MouseMove:Boolean
  • NoAutoSelExtension:Boolean

Returns

The type of the result value is Boolean.

Description

Selects Text. If already a selection was started it will select from the current start to the given position - otherwise it will start a new selection and select the text from the current position to the given position. The parameter MouseMove is used for word selection.

Overloaded Methods

Function TWPRTFDataCursor.SelectToHere(obj:TWPTextObj; MouseMove:Boolean) : Boolean