Edit Field - PromptIcon Property

Image displayed within the input

Member of Edit Field (PRIM_MD.Edit)

Data Type - String


Name of the Material Icon or Font Awesome icon to be shown on the right side of the field.
The image displayed is foreground text rather than a background image.
If both the PromptIcon and PromptIconImage properties are specified, the PromptIcon will be shown.


This page shows a simple search field.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME)
   Define_Com Class(#PRIM_MD.Edit) Name(#Search) DisplayPosition(1) Left(64) Parent(#COM_OWNER) TabPosition(1) Top(56) Label('Search') PromptIcon('search') LabelPosition(None) Height(49)
   Evtroutine Handling(#Search.PromptIconClick #Search.Enter)
      * Handle prompt click

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020