Name of the Theme DrawStyle to be applied to the icon
Member of Label (PRIM_MD.Label)
Data Type - Unicode String
The IconThemeDrawStyle property is the name of the DrawStyle to be applied to the Icon ThemeDrawStyle uses simple name matching to determine the appearance of the control. If the name specified cannot be found at run time, the control will revert to its fallback appearance defined by the Theme applied to the WebPage or Reusable Part. As the name is softcoded, a change of Theme at application level can result in a completely different appearance. There are a number of prefined DrawStyle names that automatically exist at runtime to match certain controls and features e.g. PushButton, ListItem, ListColumn and Edit etc. Refer to the DrawStyle property for further information. The ThemeDrawStyle property is typically managed by the IDE designer.
This example shows a label with an icon and text.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME) Height(313) Width(737) Define_Com Class(#PRIM_MD.Label) Name(#Label1) Caption('Text') DisplayPosition(1) Icon('label') Left(24) Parent(#COM_OWNER) TabPosition(1) TabStop(False) Top(16) IconThemeDrawStyle('MediumAccent') ThemeDrawStyle('DarkTitle') Height(73) Width(177) IconMarginRight(4) IconMarginLeft(4) IconHeight(36) End_Com
Febuary 18 V14SP2