TRVAControlPanel.OnViewChanged

<< Click to display table of contents >>

TRVAControlPanel.OnViewChanged

Occurs when some action changes view properties of the target editor.

property OnViewChanged: TRVAEditEvent2;

This event is called by TrvActionNew and TrvActionOpen actions. In ScaleRichView, this event is also called by the actions that change view layouts and zooming in the target editor.

Usually, it makes sense to process this event only in ScaleRichView, if TSRichViewEdit is used as a target editor. In this event you can update user interface components that display the current zooming percent.