Hi Mattias,<br><br>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:<br><br>- on first start, it always complains that FPC source is not found.<br>

- on program termination (if run within the IDE), the attached error is shown.<br><br>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.<br>

<br>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?<br>

<br>Shannon<br><br><div class="gmail_quote">2012/6/2 Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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