&<img src="../resources/images/opentocr.png" title="Open Contents list" border="0"&>
You are here:

Applying a Theme to an Application

The simplest way to apply a theme to an application is to use the Theme tab and select a theme from those listed when you select the Custom option on the Theme dropdown. The Themes listed can be supplied Themes or a Theme that you have created yourself.

When a Theme is selected it is applied to the Theme property.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#xDemoTheme)
Themes can also be applied programmatically.
#Com_owner.Theme <= #xDemoTheme 
Once the Theme is applied, the application will immediately adopt the styles defined.
&<img src="../resources/images/opentoc-dark.png" title="Open Contents List" border="0"&>