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 shown. 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? Shannon 2012/6/2 Mattias Gaertner <[email protected]> > On Sat, 2 Jun 2012 09:16:54 +0800 > Xiangrong Fang <[email protected]> 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 > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > --
<<attachment: error.png>>
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
