TRVAControlPanel.OnAddStyle

<< Click to display table of contents >>

TRVAControlPanel.OnAddStyle

Occurs after some action added a style as a result of an editing operation.

type

  TRVAddStyleEvent = procedure (Sender: TrvAction;

    StyleInfo: TCustomRVInfo) of object;

 

property OnAddStyle: TRVAddStyleEvent;

Actions may add text, paragraph, and list styles as a result of editing operations.

Depending on the style type, StyleInfo can be of TFontInfo, TParaInfo, or TRVListInfo class.

If you need to perform additional operations on new styles, use this event.

See also:

OnStyleNeeded

TCustomRichView.OnAddStyle