Modifier

Partager via


Page.Editable([Boolean]) Method

Version: Available or changed with runtime version 1.0.

Gets or sets the default editability of the page.

Syntax

[Editable := ]  Page.Editable([NewEditable: Boolean])

Note

This method can be invoked using property access syntax.

Parameters

Page
 Type: Page
An instance of the Page data type.

[Optional] NewEditable
 Type: Boolean
The new default editability of the page.

Return Value

[Optional] Editable
 Type: Boolean
Indicates the editability of the page.

Remarks

The CurrPage.Editable property represents both whether a page is editable at all and whether the page is currently in edit mode. Dynamic changes to the page Editable property are not supported, except through CurrPage.Editable(false) in the OnOpenPage trigger.

Page Data Type
Get Started with AL
Developing Extensions