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

MemberDescription
NoneNone
StandardStandard
StandardAccentBlue
StrongBold
StrongAccentBlue + Bold
AttentionRed + Italic
AttentionAccentBlue + Italic
FavorableBold + Green
UnfavorableBold + Italic + Red
AmbiguousYellow
SubordinateGrey

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