[Lazarus] A few questions

Xiangrong Fang xrfang at gmail.com
Sat Jun 2 05:54:11 CEST 2012

Hi Mattias,

1) About Laz on Ubuntu 12.04:  it is quite OK, except that the installing
process is still very tricky and after install it has 2 minor problems:

- on first start, it always complains that FPC source is not found.
- on program termination (if run within the IDE), the attached error is

2) About the bug I reported. I confirm that it does NOT appear on Ubuntu,
but only Windows. And it appears on both Win7 and WinXP, both laz v0.9.30.4
and the bleeding edge nightly build.

3) I used the correct form of FloodFill, now the compiler is happy, but
there is no flood fill at all (both on windows and linux).  btw, to make
sure I use it correctly, I just need to specify a point within the shape I
want to fill, right?


2012/6/2 Mattias Gaertner <nc-gaertnma at netcologne.de>

> On Sat, 2 Jun 2012 09:16:54 +0800
> Xiangrong Fang <xrfang at gmail.com> wrote:
> > Hi There,
> >
> > I've been away from Laz for a few months.  And just tried the daily build
> > on Windows. Now having a few questions:
> >
> > 1) How is the status of latest Lazarus on Ubuntu?   I had very bad
> > experience during Ubuntu 11.04 and 11.10, notable problem is Laz does not
> > play well with Unity global menu.
> Can you be more specific?
> >[...]
> > 3)  I tried to use TCanvas.FloodFill, but compiler told me incorrect
> number
> > of arguments. I traced down into the fpcanvas source, the signature is
> > correct, I wonder if that method is implemented or not?
> The FPCanvas.FloodFill(x,y) is not implemented in the LCL. It
> "reintroduces" another FloodFill(X, Y: Integer; FillColor: TColor;
> FillStyle: TFillStyle). This means the compiler message is correct.
> The "find declaration" ignores the "reintroduce" and finds more than
> the compiler.
> Just add the two parameters.
> Keep in mind that FloodFill can be very slow.
> Mattias
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120602/a2bd65c3/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.png
Type: image/png
Size: 35040 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120602/a2bd65c3/attachment-0003.png>

More information about the Lazarus mailing list