General information
Category:
Forms & Form designer
Title:
ForeColor for some, but not all, listbox items?
Is there a simple way to change the color property of selected items in a listbox? In other words, all items are blue and I want to turn items #3, 4 and 7 to red. Can this be done?
I have noticed that the ItemForeColor propery appears to take a subscript / index, but seems to have no effect. That is, .ItemForeColor(3) = RGB() works in the sense that it does not raise an error. But, it doesn't work in the sense that the subscript is ignored and the color is applied to all list members.
BTW, I am using VFP 5.0a on NT4/SP4 if that matters....
Thanks.
JS
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only