|
TCustomRichView.OnAddStyle |
Top Previous Next |
|
Occurs when new style is added. type TRVAddStyleEvent = procedure (Sender: TCustomRichView; StyleInfo: TCustomRVInfo) of object;
property OnAddStyle: TRVAddStyleEvent; (introduced in version 11) This event occurs when a new style is added (to TextStyles, ParaStyles, or ListStyles collections of the linked TRVStyle component) as a result of: ▪RTF (Rich Text Format) reading (both loading and insertion) ▪RVF (RichView Format) insertion; ▪(in editor) changing the current text style on keyboard language change (see rvoAutoSwitchLang in EditorOptions). Notes about additional components: ▪HTML importers call this event; ▪RichViewActions do not call this event, they use TRVAControlPanel.OnAddStyle instead. |