is there anybody knowing how to change the selected color
of a TEdit ?
thanks and greetings from Cologne
Chris
-------------------------------------------------------
Chris Günther
chr...@netcologne.de or g...@ifacs.de
-------------------------------------------------------
You may, or may not, be able to modify this independently since this
behavior is embedded within the Windows control, not within Delphi...
--
Mark Richter
eMCee Software
> is there anybody knowing how to change the selected color
>of a TEdit ?
Edit controls paint selected text according to the user's choice of
system color.
sig://boB/TeamB
That color is determined by the user when they select their desktop
settings. You can change it, but the effect is global - not just for
your control but all applications. That is considered "rude".
Good luck.
Kurt
Hamish.
http://dspace.dial.pipex.com/hamish.williams/
That's what I mean. Is there any way to play with own (app-wide)
selected color ?
>
> Good luck.
>
> Kurt
> how to change the selected color of a TEdit ?
You could create your ownerdrawn TEdit, and paint everything with your
own colors. The problem appears when you try to ownerdraw a TMemo, but
for TEdit seems to be simpler. Just try it and if you cannot do it, I'll
try to do it myself when having some free time.
Hope this helps.
-----------------------------------
Paul Christian Cazan
Delphi programmer at Atis Bucharest
Office Phone: +40 01 2523609
E-mail: paul...@iname.com
-----------------------------------