>Does anyone have some ideas about how to color code items in a list box? I've done it with grids.
>
>Thanks,
>Allen
You can do it wit the popup as a rowsource:
Example:
*listbox.init()
DEFINE POPUP colorlist
DEFINE BAR 1 OF colorlist PROMPT "Red" COLOR ,RGB(255,0,0)
DEFINE BAR 2 OF colorlist PROMPT "Green" COLOR ,RGB(0,255,0)
DEFINE BAR 3 OF colorlist PROMPT "Blue" COLOR ,RGB(0,0,255)
this.rowsourcetype = 9 && popup
this.rowsource = "colorlist"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison