Function TWPRTFDataCursor.MoveTo(paragraph:TParagraph; posinpar:Integer; UpdateScreen:Boolean; MouseMove:Boolean) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCursor

Parameters

  • paragraph:TParagraph
  • posinpar:Integer
  • UpdateScreen:Boolean
  • MouseMove:Boolean

Returns

The type of the result value is Boolean.

Description

Moves the cursor to a certain paragraph and position. The paragraph may be in any visible RTFData object (body, header and footer). If the move failed the result is FALSE.

Overloaded Methods

Function TWPRTFDataCursor.MoveTo(txtobj:TWPTextObj; UpdateScreen:Boolean; AfterObject:Boolean) : Boolean