2.24.2 Themes

What are Themes?

Themes are a powerful, integrated means by which the appearance of an application can be centrally defined. Themes are used to define the appearance of an application, providing a central place where colors, fonts, and borders and so on, are defined. These can be applied either globally for specific controls such as a Push Button or Popup, or they can be more abstract in concept, such as Heading1, Emphasis and Strong, that can be used as and when required.

Like most LANSA features, Themes can be created and stored in the repository and reused throughout your application simply by applying them in the LANSA designer, allowing you to see what your application is going to look like long before you execute it.

Unlike Visual Styles, Themes use name matching at runtime with the result that all Themes are completely interchangeable. Provided a matching name can be found, applying a new Theme to the application will cause the User Interface to be updated with the new appearance.

By defining a Theme, the need to apply Styles to controls at design time is greatly reduced.

Also see

System Themes

How Do Themes Work?

Theme Definition

Draw Styles

Defining a Theme

Applying a Theme to an Application

Using Themes

Applying Themes to Controls

Ad Hoc Styles?