TCustomRichViewEdit.OnCurTextStyleChanged

<< Click to display table of contents >>

TCustomRichViewEdit.OnCurTextStyleChanged

Occurs when the index of current text style (value of CurTextStyleNo property) is changed.

property OnCurTextStyleChange: TNotifyEvent;

This event can occur when user moves caret with mouse or keyboard, or when he/she edits document. Some methods of RichViewEdit can also invoke this event.

Use this event to update user interface in your application.

 

See also properties:

CurTextStyleNo.

See also events:

OnCurParaStyleChanged.