1 May 2012 06:09
ListBox Row Font Color based on array element value
In June of 2007 I sent a message asking if there is a way to procedurally change the background and/or font
color of a specific "Row" in a ListBox displaying 4 array columns.
The solution was quick and direct. But it fails to work in V12.
I've tried to follow more recent posts from Chip, Arnaud, David and Jeremy but my attempts have failed.
It seems simple. I would like a Timer Form Event to set the colors for each row based on a value in the first
element of the row. There's no problem with the Timer, just the colors.
eg: Row Value Make Row/Font Color
Row 1 "Urgent" = Red
Row 2 "Urgent " = Red
Row 3 "Important" = Orange
Row 4 "Done" = Blue
Row 5 "Routine = Green
Row 6 "Done" = Blue
I am embarrassed to think how many attempts I've tried over the past 8 hours. I've tried a method name in the
Color properties field, RBG colors and regular colors, put things on the ListBox object Method event on
load and on clicked and on display detail. I just can't get it together.
Thanks for any help you extend.
Steve Campbell steve@...(Continue reading)
RSS Feed