a_layoutweb TsrvActionLayoutWeb

Properties   Events  | Actions overview

<< Click to display table of contents >>

a_layoutweb TsrvActionLayoutWeb

Properties   Events  | Actions overview

TsrvActionLayoutWeb switches TSRichViewEdit control to a "web layout".

Unit SRVActions;

Syntax

TsrvActionLayoutWeb = class(TsrvActionCustomLayout)

hmtoggle_arrow1Hierarchy

Description

In this mode, a document is shown in a single page that occupies all available width of the target editor.

The main changes made by this action for TSRichViewEdit control:

Property

Assigned value

PageProperty.PageViewMode

False

PageProperty.AutoWidth

True

ReadModeProperty.Active

False

This action also changes the following properties:

Property

Assigned value

Color

clWhite

PageProperty.BorderPen.Style

psClear

BackgroundProperty.Visible

False

ViewProperty.ShowScrollHint

False

PagePosProperty.AlignPageH

srvaphLeft

PagePosProperty.AlignPageV

srvapvTop

PageProperty.HeaderVisible

False

PageProperty.FooterVisible

False

PagePosProperty.HiddenDistances

includes [srvppdHPadding, srvppdVPadding], excludes [srvppdPageHSpacing]

After the layout is changed, TRVAControlPanel.OnViewChanged event occurs.

See also:

TsrvActionLayoutPrint

TsrvActionLayoutDraft

TsrvActionLayoutSideToSide

TsrvActionLayoutRead