> Er, neither of those comments make sense, and when I try it here it works
> for me anyway. :-)  Here, you have a go:
>
> < snip >

Oh... I'm not looking very smart here am I? But appearances can be deceiving
;-)

It turns out my last email wasn't precise enough. I am playing with
descendents of TDBEdit (TwwDBEdit actually - I'm interested in TEdit as well
but it wasn't what I was testing with). It turns out that TDBEdit (and
TwwDBEdit) have a customised WMPaint procedure which specifically draws
right justified and centred text! This is something I should have noticed
yesterday before I sent my email complaining about it not working - my
apologies Carl!

The upshot of all this is that making text black on all disabled edit
controls is a major headache - and I haven't even started to look at
comboboxes, memos etc.

It's a shame but I've just had a better idea - how about I make the controls
ReadOnly and turn TabStop off?

:-)

David.
DB Solutions Ltd.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to