>Is there any way to have different items in a ListBox have different colors in VFP 5.0 or VFP 6.0?
Yes, You can have different colors for different items in listbox. Just do
the following.
DEFINE POPUP mypopup ......
DEFINE BAR 1 OF mypopup PROMPT 'One' COLOR RGB(.....)
DEFINE BAR 2 OF mypopup PROMPT 'Two' COLOR RGB(.....)
DEFINE BAR 3 OF mypopup PROMPT 'Three' COLOR RGB(.....)
Thisform.lstmulticolor.recordsourcetype = 9 && Popup
Thisform.lstmulticolor.recordsource = 'mypopup'
Bye
Jayesh
- Jayesh