hi you can use TMS Component
On 7/9/06, Mick Arundell <[EMAIL PROTECTED]> wrote: > > > Date: Sun, 09 Jul 2006 17:10:22 +1000 > > From: Russell Stapleton <[EMAIL PROTECTED]> > > Subject: Listbox can contain multiple font colours? > > To: Borland's Delphi Discussion List <[email protected]> > > Message-ID: <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset="US-ASCII" > > > > Hi all, absolute newbie here. > > > > 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. > > > > If this cannot be done (and I suspect not) I am open to any > > suggestions as to how I should show the incorrect words, > > otherwise anyone playing will forget what their previous attempts were. > > > > TIA, etc, > > R. > > > > Russell, > TListBox.OnDrawItem event > all that you need > > Mick > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

