Function TWPRTFEngineEdit.InputString(Text:string; HandlePaint:Boolean; CodePage:Integer) : Boolean

Unit: WPRTEEdit
Class: WPRTEEdit.TWPRTFEngineEdit

Parameters

  • Text:string
  • HandlePaint:Boolean
  • CodePage:Integer

Returns

The type of the result value is Boolean.

Description

inputs the give text at the current cursor position. If 'HandlePaint' is true it also takes care of reformat and update of the screen. The return code is FALSE if it was not possible to insert the character