[Lazarus] My Lazarus Help Dialog Application.

Peter Williams pewtas at gmail.com
Sun Aug 10 10:33:51 CEST 2008


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



More information about the Lazarus mailing list