[Gambas-user] Drawing Area Issues

Christopher Brian Jack brian at ...1334...
Sun Jan 22 23:23:42 CET 2006


I wrote a test program.

Something I noticed is that when I saved the program the designer had
dropped the width and height from 640x480 to 639x479 when I reloaded the
project.

So problem also goes away if I put the line

DrawingArea1.Move(18,18,640,480)

In the From_Load for my form.

Somewhere there is an off-by-one going on.

I'm going to try repeated save/load cycles and see if dimensions are being
altered.

==================================================
Christopher BRIAN Jack aka "Gau of the Veldt"
==================================================
brian at ...1334...
brian at ...1335...
brian at ...1336...
brian at ...1337...
gau_veldt at ...67...
==================================================

-- Hi Spambots, my email address is sputnik at ...1334...

On Sun, 22 Jan 2006, Benoit Minisini wrote:

> Date: Sun, 22 Jan 2006 23:13:10 +0100
> From: Benoit Minisini <gambas at ...1...>
> Reply-To: gambas-user at lists.sourceforge.net
> To: gambas-user at lists.sourceforge.net
> Subject: Re: [Gambas-user] Drawing Area Issues
>
> On Sunday 22 January 2006 22:51, Christopher Brian Jack wrote:
> > Also the stable version in Suse 9.2 using Gambas 1.0.6 does not show this
> > issue.
> >
> > ==================================================
> > Christopher BRIAN Jack aka "Gau of the Veldt"
> > ==================================================
> > brian at ...1334...
> > brian at ...1335...
> > brian at ...1336...
> > brian at ...1337...
> > gau_veldt at ...67...
> > ==================================================
> >
> > -- Hi Spambots, my email address is sputnik at ...1334...
> >
>
> I tried your code, and everything is displayec correctly: a black rectangle
> with a one-pixel wide yellow border. I checked with a magnifier, and all
> pixels are there...
>
> --
> Benoit Minisini
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list