Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browse: Dynamic Color -Change

Status
Not open for further replies.

cathalturi

Programmer
Sep 29, 2003
14
DE
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 ;) )



 
Enable Color for the fields in the List Box and use the Conditional Color options in Browse properties to set it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top