[Lazarus] Color change don't work in TImage (windows)

wile64 wile64 at gmail.com
Sat Aug 9 14:24:45 CEST 2008


2008/8/9 Mattias Gaertner <nc-gaertnma at netcologne.de>

> On Sat, 9 Aug 2008 10:26:37 +0200
> wile64 <wile64 at gmail.com> wrote:
>
> > Hi,
> >
> > This code work on Linux not on Windows xp.
> > // Preview is a TImage.
> >
> > [code]
> >   Preview.Canvas.Pen.Color:=clblue;
> >   Preview.Canvas.Line(...);
> > [/code]
> >
> > The color is always White on Windows (with last svn).
>
> See
>
> http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Draw_to_a_TImage
>
> Mattias
>

Thanks Mattias,

I do not believe that it rule my problem, it seems to me having tested
several solution...

I look in the week, no time now

regards,

-- 
Laurent.

"If debugging is the art of removing bugs, then programming must be the art
of creating!"

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080809/051fd2bf/attachment-0007.html>


More information about the Lazarus mailing list