Raised Button - Icon Property

Image displayed within the button

Member of Raised Button (PRIM_MD.RaisedButton)

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 buttons with Check and Close icons.
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME)
 
   Define_Com Class(#PRIM_MD.RaisedButton) Name(#Check) DisplayPosition(1) Left(64) Parent(#COM_OWNER) TabPosition(1) Top(56) ButtonDefault(True) Icon('check') Caption('OK')
   Define_Com Class(#PRIM_MD.RaisedButton) Name(#Cross) DisplayPosition(2) Left(176) Parent(#COM_OWNER) TabPosition(2) Top(56) ButtonCancel(True) Icon('close') Caption('Cancel')
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2