You can use a Label instead. You can set the color of the background, and the color and other attributes of the font.
And (as I have recently learned) you have to use <label>,Update to force Delphi to update the screen display after you change the label. Rainer ----- Original Message ----- From: "John Dammeyer" <[EMAIL PROTECTED]> To: "'Borland's Delphi Discussion List'" <[email protected]> Sent: Thursday, December 15, 2005 8:10 PM Subject: Protecting Tedit Field. Hi all, I've got a Tedit field that I want to use to display status information (with a coloured font) but I don't want a user to be able to actually click on it and change it. I can set enabled to FALSE but then windows greys out the text and makes it hard to read. I set the readonly field and I can still click on it and change the text. How can I make it so I get coloured text but that it behaves like enabled is set to false? Thanks. John Dammeyer _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

