You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

How Do Themes Work?

Themes and Styles in LANSA work on simple basis: Styles are cumulative. The hierarchy of processing is as follows:

  • Default Appearance – The default appearance of the control is applied
  • Themes – Styles adopted from Themes Draw Styles are layered on top
  • Styles – Individual Styles are used to define the final detail if required.

All controls have a default appearance. When a Theme is applied, the features of the styles that make up the Theme Draw Styles are applied to the control. For example, a normal push button with a Draw Style applied that makes the font bold and underlined, the button will have bold, underlined text. All other styling will remain as is. If a local style is then applied, that makes the font blue, it will have bold, underlined and blue text. Other than that, it will look like a button.
&<img src="../resources/images/opentoc-dark.png" title="Open Contents List" border="0"&>

  • No labels