Ok, for get my lat email....I forgot to add an event to trap the resizing of
the control...DOH !!!

Cheers, Jeremy Coulter

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jeremy Coulter
> Sent: Thursday, 20 April 2000 10:41
> To: Multiple recipients of list delphi
> Subject: [DUG]: Component Prob.
>
>
> hi all.
>
> I am just writting a we custom control.
> Its a control that will have a caption on it, which I draw onto
> the canvas.
> This is fine, but if I resize the control at design time, the
> test I put on
> the canvas disappeares.
> I know I have not done something, but I am not rue what.
> the control is a decendant of a TCustomControl and I am overridding the
> Paint event, and I put an Invalidate in the, but it well...hung
> D5..hehehehe.
>
> Anyway, if anyone can point me in the right direction, I would much
> appreciate it.
>
> Cheers, Jeremy Coulter
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to