Sorry, I think I misread your message. It can be done, I have components which do it, but it involves overriding the
procedure WMNCPaint(var Message: TMessage); message WM_NCPAINT; and painting the border yourself. But the solution I sent should allow you to grey the background of the control, which does better indicate a disabled state. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alfred Vink Sent: Thursday, May 26, 2005 9:02 AM To: 'Delphi-Talk Discussion List' Subject: Disabling Tedit XP style Hi Guys, When disabling a Tedit on a form which also holds a XPManifest, the Tedit does not completely grey-out, only the text, the lightblue outline remains. Is there a simple way to make this outline also grey when disabled ? Currently when there is no text in the Tedit it is not obvious from the start it is disabled. Alfred __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
