Label - Icon Property
Image displayed within the control
Member of Label (PRIM_MD.Label)
Data Type - String
Details
Name of the Material Icon or Font Awesome icon to be shown on the control.
The image displayed is foreground text rather than a background image.
If both the Icon and IconImage properties are specified, the Icon will be shown.
Example
This page shows two labels with Check and Close icons.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME)
Define_Com Class(#PRIM_MD.Label) Name(#Check) DisplayPosition(1) Left(64) Parent(#COM_OWNER) TabPosition(1) Top(56) Icon('check') Caption('OK')
Define_Com Class(#PRIM_MD.Label) Name(#Cross) DisplayPosition(2) Left(176) Parent(#COM_OWNER) TabPosition(2) Top(56) Icon('close') Caption('Cancel')
End_Com