a_layoutdraft TsrvActionLayoutDraft

Properties   Events  | Actions overview

<< Click to display table of contents >>

a_layoutdraft TsrvActionLayoutDraft

Properties   Events  | Actions overview

TsrvActionLayoutDraft switches TSRichViewEdit control to a "draft" layout.

Unit SRVActions;

Syntax

TsrvActionLayoutDraft = class(TsrvActionCustomLayout)

hmtoggle_arrow1Hierarchy

Description

The main changes made by this action for TSRichViewEdit control:

Property

Assigned value

PageProperty.PageViewMode

False

PageProperty.AutoWidth

False

This action also changes the following properties:

Property

Assigned value

Color

clWhite

PageProperty.BorderPen.Style

psClear

PagePosProperty.HPadding

HPadding

BackgroundProperty.Visible

False

ViewProperty.ShowScrollHint

True

PagePosProperty.AlignPageH

srvaphLeft

PagePosProperty.AlignPageV

srvapvTop

PageProperty.HeaderVisible

False

PageProperty.FooterVisible

False

PagePosProperty.HiddenDistances

excludes [srvppdHPadding, srvppdVPadding]

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

See also:

TsrvActionLayoutWeb

TsrvActionLayoutPrint