Set it on a TPanel the same size and set the Panel's enabled to False.

--- John Dammeyer <[EMAIL PROTECTED]> wrote:

> 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
> 
> 
> Wireless CAN with the CANRF module now available.
> http://www.autoartisans.com/products
> Automation Artisans Inc.
> Ph. 1 250 544 4950
> 
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
> 


__________________________________________________
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