|Top Previous Next|
TrvActionBackground is the action for "Background" command.
TrvActionBackground = class(TrvAction)
This action changes background (Color, BackgroundBitmap, BackgroundStyle) and "padding" (LeftMargin, TopMargin, RightMargin, BottomMargin) properties of the target editor. "Padding" can be changed only if CanChangeMargins=True.
if rvfoSaveBack and/or rvfoSaveLayout are included in the target editor's RVFOptions property, the action changes background and/or margin properties as an editing operation (and these changes can be undone by the user).
The action calls the following events:
•TCustomRichViewEdit.OnChange (called by TCustomRichViewEdit.Change, see above)
RichViewActions © trichview.com