You definately cannot change the text in a TEdit if it's set to read-only. You can highlight text and copy to clipboard, however. What's wrong with a Label? I use colored labels.
Ross. ----- Original Message ----- From: "John Dammeyer" <[EMAIL PROTECTED]> To: "'Borland's Delphi Discussion List'" <delphi@elists.org> Sent: Friday, December 16, 2005 2: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 -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi