<div dir="ltr"><div dir="ltr">Hi Fabien,<br>why do you say unperfect? It seems to work very well.<br>These days I'm busy, but as soon as I can understand your beautiful code, I'll let you know :-)<br><br>Regards<br>Gianluigi<br><br><div class="gmail_quote"><div dir="ltr">Il giorno mar 11 dic 2018 alle ore 22:38 Fabien Bodard <<a href="mailto:gambas.fr@gmail.com">gambas.fr@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> $H = DrawingArea2.H<br>
is false because it is not the drawing zone ... it's more DrawingArea2.ClientH<br>
<br>
As you use it in the _Draw event prefer Paint.H that is the true<br>
device area height<br>
<br>
Modified but yet unperfect<br>
<br>
Le mar. 11 déc. 2018 à 17:04, Gianluigi <<a href="mailto:bagonergi@gmail.com" target="_blank">bagonergi@gmail.com</a>> a écrit :<br>
><br>
><br>
><br>
> Il giorno mar 11 dic 2018 alle ore 16:50 Gianluigi <<a href="mailto:bagonergi@gmail.com" target="_blank">bagonergi@gmail.com</a>> ha scritto:<br>
>><br>
>> Hi Fabien,<br>
>> some small variation and google translations :-)<br>
>><br>
>> Regards<br>
>> Gianluigi<br>
><br>
><br>
> I forgot to mention that: Gambling is addictive ;-D<br>
><br>
><br>
> ----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br>
<br>
<br>
-- <br>
Fabien Bodard<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div></div></div>