rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.OnCaretGetOut

Top  Previous  Next

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

User pressed    (or   , if BiDiMode=rvbdRightToLeft) while the caret is at the beginning of the document

rvdUp

User pressed    while the caret is in the first line of  the document

rvdRight

User pressed    (or   , if BiDiMode=rvbdRightToLeft) while the caret is at the end of the document

rvdDown

User pressed    while the caret is in the last line of  the document.

rvdTop

User pressed  Ctrl + Home 

rvdBottom

User pressed  Ctrl + End 

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

 


RichView © Sergey Tkachenko