Skip to main content
Version: Next

FORM theme

FORM theme : Text

ParameterTypeDescription
Function resultTextTheme used by the current form: "Classic" or "FluentUI" (Windows)
History
ReleaseChanges
21 R2Added

Description

The FORM theme command returns the Windows theme actually rendered for the current form: "Classic" or "FluentUI".

The Windows form rendering theme can be defined at application level and/or at form level (where it can be inherited or explicitely defined), and also depends on the availability of specific Microsoft libraries on the current machine at runtime. This command allows you to know which form theme is currently running.

If there is no current form, or if the command is executed on macOS, FORM theme returns an empty string.

See also

Fluent UI rendering

Properties

Command number1832
Thread safe