I want to show an icon in a tabpanel list view, if certain criteria are met. Otherwise, not. Then, if the icon is visible, the user can click on it for more info. If it is not applicable, the icon doesn’t show.
spyglass.png is an image
rct_howpaid is a textfield, with a valuelist
rct_howpaid_icon is a mediafield and calculation:
if (rct_howpaid == ‘Stock’)
{return ‘what_goes_here?’}
else
{return ‘’}
My question: how do I make the image (spyglass.png) visible? That is, return what in the place of ‘what_goes_here’ to cause it to be visible?
To say it another way, how do I tell Servoy- in a calculation- to either show a stored image in a field or leave it blank?