Editfield.Readonly := true; 

-----Opprinnelig melding-----
Fra: John Dammeyer [mailto:[EMAIL PROTECTED] 
Sendt: 16. desember 2005 02:11
Til: 'Borland's Delphi Discussion List'
Emne: 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


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


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to