cathalturi
Programmer
Hello everyone!
I need to change the background color of a single line / or field depending on a certain value is holds. I'll try to give an understandable example:
Assuming I have created a Browse with a Listbox, each line holds information on an item. The first field of each line holds the name and the second its' ammount currently on stock.
After refreshing the browse, the ammount-values may change. I would like to have a green field background for 5 pieces, yellow for 4, orange for 3, ...and so on. So not only do I want values to be updated in the browse but the field background color, too.
...I don't have a clue how to accomplish the task.
Your help is greatly anticipated!
(..My examples may be weird - but I hope they do the trick in making my problem clear )
I need to change the background color of a single line / or field depending on a certain value is holds. I'll try to give an understandable example:
Assuming I have created a Browse with a Listbox, each line holds information on an item. The first field of each line holds the name and the second its' ammount currently on stock.
After refreshing the browse, the ammount-values may change. I would like to have a green field background for 5 pieces, yellow for 4, orange for 3, ...and so on. So not only do I want values to be updated in the browse but the field background color, too.
...I don't have a clue how to accomplish the task.
Your help is greatly anticipated!
(..My examples may be weird - but I hope they do the trick in making my problem clear )