<< Click to display table of contents >> TsrvActionLayoutRead |
TsrvActionLayoutRead switches TSRichViewEdit control to a "read mode" layout.
Unit SRVActions;
Syntax
TsrvActionLayoutRead = class(TsrvActionCustomLayout)
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TrvCustomAction |
In this mode width and height of pages are calculated automatically to fit the editor. Pages are shown completely, are arranged in one row, are scrolled horizontally with a special transition effect.
The main changes made by this action for TSRichViewEdit control:
Property |
Assigned value |
True |
|
True |
|
True |
This action also changes the following properties:
Property |
Assigned value |
Color |
|
PageProperty.BorderPen.Style |
psSolid |
True |
|
True |
|
srvaphCenter |
|
srvapvCenter |
|
False |
|
False |
|
excludes [srvppdHPadding, srvppdVPadding, srvppdPageHSpacing] |
This action also changes the following properties specific for a read mode:
Property |
Assigned value |
After the layout is changed, TRVAControlPanel.OnViewChanged event occurs.
See also: