A workaround might be to copy the image into an ImageList, and use
ImageList.Draw. 
(also handles transparency better then Canvas.CopyRect)

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 09, 2000 12:53 PM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  Wont copy image
> 
> 
> Error :  Can Only modify an image if it contains a bitmap.
> 
> I am trying to copy an image with copyrect onto the canvas of a 
> TheaderSectionControl.  DraText works fine.  Any clues anyone ?
> 
> 
> Rohit
> 
> ======================================================================
> CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
> PH    (649) 489-2280 
> FX    (649) 489-2290
> email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
> ======================================================================
> 
> --------------------------------------------------------------------------
> -
>     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