Re: [Gambas-user] Wiki: ScrollArea (gb3)

2011-02-20 Thread Matti
Am 20.02.2011 18:58, schrieb Benoît Minisini: > > It's not a workaround, it's the way it should work. ok, thanks! But this should be explained in the wiki! > So, anyway, use Draw.Picture() to be sure. > Yes, this is faster. But, with mid-size photographs, ScrollArea is still 10x slower than a

Re: [Gambas-user] Wiki: ScrollArea (gb3)

2011-02-20 Thread Benoît Minisini
> I fought with this for a while: The wiki says, you have to draw the image > inside the Draw event handler of ScrollArea. So I did: > Draw.Image(hImg, 0, 0, Width, Height), where 0,0 is X and Y. > > But when using the ScrollBars, the Drawing event is raised again, and so > the image is redrawn in

[Gambas-user] Wiki: ScrollArea (gb3)

2011-02-20 Thread Matti
I fought with this for a while: The wiki says, you have to draw the image inside the Draw event handler of ScrollArea. So I did: Draw.Image(hImg, 0, 0, Width, Height), where 0,0 is X and Y. But when using the ScrollBars, the Drawing event is raised again, and so the image is redrawn in the origina