Traffic light indicators on a grid / form

Hi all,

I’ve to build a traffic light indicator and I have to manage the classic three status green , yellow red using different .png images/icons…
Something like if var < XX then image01 — if var >Xy <Xz then image02 ----if var > ZZ then image03
I never did such kind of application so each hint will be welcome !!! :wink:
Thanks

[QUOTE=giovannino;32090]Hi all,

I’ve to build a traffic light indicator and I have to manage the classic three status green , yellow red using different .png images/icons…
Something like if var < XX then image01 — if var >Xy <Xz then image02 ----if var > ZZ then image03
I never did such kind of application so each hint will be welcome !!! :wink:
Thanks[/QUOTE]

I think you solved your doubt in your own post :slight_smile:

Agreed - you have your solution :slight_smile:

To use in a Grid application, you can create a New Field in the grid. During the onLoad Event, you can analyze the field you wish to use (var XX) and show the image in the field.

If you want to show the stoplight image in a Form application, I believe you can use “HTML Image” and supply the directory path as the field value. You may need to mess with this to figure out the best way.