Field - Icon Property

Image displayed within the button

Member of Field (PRIM_MD.Input)

Data Type - String


Name of the Material Icon or Font Awesome icon to be shown on the left side of the field.
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.


This page shows two edit fields with Check and Close icons.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME)
   Define_Com Class(#PRIM_MD.Edit) Name(#Check) DisplayPosition(2) Left(64) Parent(#COM_OWNER) TabPosition(2) Top(56) Icon('check') Label('Check')
   Define_Com Class(#PRIM_MD.Edit) Name(#Cross) DisplayPosition(1) Left(64) Parent(#COM_OWNER) TabPosition(1) Top(136) Icon('close') Label('Close')

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020