Modifier

Partager via


PageStyle Option Type

Version: Available or changed with runtime version 14.0.

Represents the different kinds of styles that can be applied to page controls.

Members

Member Description
None None
Standard Standard
StandardAccent Blue
Strong Bold
StrongAccent Blue + Bold
Attention Red + Italic
AttentionAccent Blue + Italic
Favorable Bold + Green
Unfavorable Bold + Italic + Red
Ambiguous Yellow
Subordinate Grey

Example

The PageStyle option type can be used to get the valid values for StyleExpr, which is set on page controls.

layout
{
    area(Content)
    {
        field(Name; rec.Name)
        {
            StyleExpr = nameStyle;
        }
    }
}

var nameStyle : Text;

local procedure ChangeNameStyle(newPageStyle : PageStyle)
begin
    nameStyle := format(newPageStyle);
end;

Getting Started with AL
Developing Extensions