[David and Carl going round with interesting stuff about disabled controls
...]

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

Did anyone notice JED's post about this early on?  ...

>If I need to do this I generally put the controls on a panel and disable
>the panel.  It may be effective for your situation.

I just tried it - it works just fine for Tedit and TDB* and TwwDB*  (at
least the ones I've tried so far).

IMO this is a pretty clean solution - a lot safer than messing with
CM_ENABLEDCHANGED

-ns


---------------------------------------------------------------------------
    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