TCustomRichViewEdit.OnCaretGetOut

<< Click to display table of contents >>

TCustomRichViewEdit.OnCaretGetOut

Occurs when user presses arrow keys at the beginning/end of document in "outside" direction.

type

  TRVGetOutDirection = (rvdLeft, rvdUp, rvdRight, rvdDown,

    rvdTop, rvdBottom);

  TRVOnCaretGetOutEvent =

    procedure (Sender: TCustomRichViewEdit;

     Direction: TRVGetOutDirection) of object;

 

property OnCaretGetOut:TRVOnCaretGetOutEvent;

(introduced in version 1.4, 1.5)

Direction

The event happens if...

rvdLeft

The user pressed  Left  (or  Right , if BiDiMode=rvbdRightToLeft) while the caret is at the beginning of the document

rvdUp

The user pressed  Up  while the caret is in the first line of  the document

rvdRight

The user pressed  Right  (or  Left , if BiDiMode=rvbdRightToLeft) while the caret is at the end of the document

rvdDown

The user pressed  Down  while the caret is in the last line of  the document.

rvdTop

The user pressed  Ctrl *+ Home 

rvdBottom

The user pressed  Ctrl *+ End 

* on MacOS,  Command  is used instead of  Ctrl .

This event can be used to move focus to another control.