[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TCustomEdit.CursorPos

Position of cursor in the edit widget

Declaration

Source position: edit.inc line 45

protected property TCustomEdit.CursorPos: Integer
  read FCursorPos
  write SetCursorPos;

Description

Position of cursor in the edit widget. If CursorPos = 0 then the cursor in infront of the first character of text. If CursorPos = 1 then the cursor is after the first character of text, etc.