Thanks, that did the trick.
Why does TButton not use the csClickEvents in the ControlStyle?
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Carl Reynolds
> Sent: Wednesday, 13 September 2000 17:29
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: overriding TControl protected methods
snip
>
> You need to re-include csClickEvents in TMyButton.ControlStyle,
> 'cos TButton
> turns it off.
>
> Cheers,
> Carl
> ------------------------------------------------------------------
> ---------
> 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"
>
---------------------------------------------------------------------------
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"