Spin Edit - PromptIcon Property

Image displayed within the input

Member of Spin Edit (PRIM_MD.SpinEdit)

Data Type - String

Details

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.

Example

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
 
   Endroutine
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2