|Top Previous Next|
Occurs when some important operation is performed on control inserted in RichView
procedure (Sender: TCustomRichView;
var ctrl: TControl) of object;
property OnControlAction: TRVControlActionEvent;
(Introduced in version 1.3, changed in v1.4 and v10)
Warning: this event can occur from RichView destructor (when clearing document before destruction). Be careful if you access other controls from this event: they may be already destroyed!
This event occurs when some changes were done (or are being done) on inserted control ctrl.
Position of this control in the document is defined by the "hidden" parameter Sender.Style.RVData (must be typecasted to TCustomRVData) and ItemNo parameter. ItemNo is an index of item (containing ctrl) in the document Sender.Style.RVData (it may be RVData of the main RichView (Sender), cell, or RVData of cell inplace editor).
Note: do not perform any changes on RichView when processing this event.
Note: TRVControlAction is defined in RVStyle unit.
TRichView © trichview.com