Page History
...
Default | The default appearance of the control is applied |
|---|---|
Theme | Styles adopted from Themes Draw Styles are layered on top |
Style | Individual Styles are used to apply any final details to the appearance. |
All controls have a default appearance.
When a Theme is applied, whether a System Theme or a User Defined Theme, a set of Draw Styles are defined which are based on a set of individual Styles. Each Style is used for a mode of the DrawStyle such as MouseOver, Pressed, Focus, Selected and so on. When a Theme is used, these Draw Styles are applied to the controls in your application either automatically or specifically, giving it the characteristics associated with the associated styles. There are two variations of Draw Style.
Control Theme Draw Styles
Control Theme Draw Styles are a predefined set of Draw Styles which are applied automatically with no additional user input. Thus, the Edit Draw Style applies to all input boxes such as fields and spin edits; ListItem applies to all entries in the List control; MenuItem applies to menu items, PushButton applies to Push Buttons and so on.
...
You can create your own Draw Styles using any naming convention you like.
Define_Com Class(#PRIM_LABL) Name(#Label1) Caption('Label1') Displayposition(2) Height(25) Parent(#COM_OWNER)Width(120) Themedrawstyle('Heading1')
Refer to the Visual LANSA Developer's Guide for more information on Themes and Draw Styles.