OnDrawItem is what controls this. You must make the Listbox
ownerdrawn. 

Use this example:
http://216.101.185.148/scripts/isapi.dll/article?id=5F4545FD&article=2614844



> Can I make a listbox contain different coloured text? I have a listbox that
> adds words in a wordgame I am writing and would like to show the incorrect
> words in red, correct words black.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to