List Edit Field Current Item - PromptIcon Property

Image displayed within the input

Member of List Edit Field Current Item (PRIM_MD.ListEditCurrentItem)

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 as a list item.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME) Layoutmanager(#LayoutPage)
 
    Define_Com Class(#PRIM_TBLO) Name(#LayoutPage)
    Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutPageRow1) Displayposition(1) Parent(#LayoutPage)
    Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutPageColumn1) Displayposition(1) Parent(#LayoutPage)
    Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutPageItem1) Column(#LayoutPageColumn1) Parent(#LayoutPage) Row(#LayoutPageRow1)
    Define_Com Class(#PRIM_TBLO) Name(#LayoutEdit)
    Define_Com Class(#PRIM_TBLO.Row) Name(#LayoutEdittRow1) Displayposition(1) Parent(#LayoutEdit)
    Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutEdittColumn1) Displayposition(1) Parent(#LayoutEdit)
    Define_Com Class(#PRIM_TBLO.Item) Name(#LayoutEditItem1) Column(#LayoutEdittColumn1) Parent(#LayoutEdit) Row(#LayoutEdittRow1)
 
    Define_Com Class(#PRIM_MD.Edit) Name(#Search) Displayposition(1) Left(0) Parent(#COM_OWNER) Tabposition(1) Top(0) Caption('Search') Prompticon('search') Height(71) Width(1200)
 
        Evtroutine Handling(#Search.IconClick #Search.Enter)
 
            * Handle prompt click
 
        Endroutine
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2