TRVAControlPanel.OnMarginsChanged |
Top Previous Next |
|
Occurs after some action changes TCustomRichViewEdit control's margins (LeftMargin, TopMargin, RightMargin, and BottomMargin properties). property OnMarginsChanged: TRVAEditEvent; Margins can be changed by TrvActionOpen and TrvActionBackground actions. If you use TRVRuler, you must update it in this event: procedure TForm1.RVAControlPanel1MarginsChanged(Sender: TrvAction; Edit: TCustomRichViewEdit); begin RVRuler1.UpdateRulerMargins; end; |