Found the culprit! The MS Sans Serif font had been deleted from the problem machine ... and MS Sans Serif is the almost-universal default font in Delphi.
But why should a missing font cause forms, panels, buttons, grids, etc., all to change size? I guess Delphi was trying to scale things based on the ratio of the substituted font to the requested font ... and getting the calculations wrong. Live and Learn! Rainer P.S. Why did the MS Sans Serif font get deleted? Because Microsoft has chosen to make it, and 3 other .FON files, HIDDEN. This allows them to be dragged, dropped, and deleted, but prevents them from being reinstalled. Go figure. ----- Original Message ----- From: "Sid Gudes" <[EMAIL PROTECTED]> To: "Borland's Delphi Discussion List" <[email protected]> Sent: Sunday, July 09, 2006 9:30 AM Subject: Re: Listbox can contain multiple font colours? > Sure, look at the example under tListBox.OnDrawItem. The canvas's > font.color should be set to the desired color before calling TextOut (or > might be the canvas's pen.color, don't recall for certain). Setting the > canvas's brush.color will change the background color also, if that's > desired. If you want to do that, make sure to set brush.color before the > call to FillRect. > > > At 01:10 AM 7/9/2006, Russell Stapleton wrote: >>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. > > Regards, > Sid Gudes > PIA Systems Corporation > [EMAIL PROTECTED] > > > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

