GetTheme function

Official Content
This documentation is valid for:

Returns the name (not description) of the currently active Theme object.

Syntax

GetTheme()

Type Returned:
Character

Scope

Objects: Transaction, Web PanelProcedure, Data Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3)

Description

The most common usage is to set a variable of your own with the currently selected Theme as in the following example.

Samples

Event Start
    &MyTheme = GetTheme()
    ...
EndEvent

Variable &MyTheme holds the value of the currently active Theme. It is also shown as a Combo Box on the screen, letting you select any other Theme available.

See Also

SetTheme function (for Web)