Setting Theme Draw Styles

After defining the global theme, you can set specific draw styles. Switch to the Draw Styles tab in the ribbon:

2015-11-09_13-38-24

There are two kinds of draw styles:

2015-11-09_13-40-07

Theme Draw Styles are abstract draw styles such as Title, Heading 1, 2, 3 and so on. These predefined names exist by default in all basic system themes. They have no particular meaning as such.

Control Theme Draw Styles apply specifically to the default appearance of controls. Thus, the Edit draw style applies to all input boxes such as fields and spin edits; List Item applies to all entries in the List control; Menu Item applies to menu items and so on.

Every draw style has features which are set in the Style tab on the ribbon:

2015-11-09_13-46-27

Style

The visual style applied to the Style property of the control.

MouseOver

The visual style applied to the MouseOverStyle property of the control.

Focus

The style applied to the control when it becomes the Focus control or the list FocusItem.

Selected

The visual style applied to a list item when it is selected.

FocusInactive

The style applied to a list item when it is the focus item but the list it not the focus control.

SelectedInactive

The style applied to a list item when it is selected but the list it not the focus control.

Pressed

The style applied to a control when the left mouse button is down.

 

For example, to change the default MouseOver color for all push buttons in an application, you simply select the PushButton draw style and the MouseOver style, and then set the Fill color.