Icon - Icon Property

Image displayed within the control

Member of Icon (PRIM_MD.Icon)

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 icons with Check and Close icons.

     Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME) 

Define_Com Class(#PRIM_MD.Icon) Name(#Check) DisplayPosition(1) Left(64) Parent(#COM_OWNER) TabPosition(1) Top(56) Icon('check')
Define_Com Class(#PRIM_MD.Icon) Name(#Cross) DisplayPosition(2) Left(176) Parent(#COM_OWNER) TabPosition(2) Top(56) Icon('close')

End_Com

See also

All Component Classes

Technical Reference