TCustomRichViewEdit.OnChanging

<< Click to display table of contents >>

TCustomRichViewEdit.OnChanging

Occurs before editing operations

type

  TRVChangingEvent = procedure (Sender: TCustomRichViewEdit;

    var CanEdit: Boolean) of object;

 

property OnChanging: TRVChangingEvent;

Set CanEdit to False to prevent editing.

This event occurs when:

user tries to edit text, or

calling any editstyle editing-style method (before changes are actually done).

 

viewerstyle Viewer-style methods do not generate this event.

 

See also:

OnChange event;

ReadOnly property.