Procedure TWPCustomRtfEdit.ScrollToPosition(Pos:Integer; RelX:Integer; RelY:Integer)

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • Pos:Integer
  • RelX:Integer
  • RelY:Integer

Description

This procedure can be used to move to a certain position in the text. The relative x and y position is the desired x and y offset from the top left corner in pixels