[Gambas-devel] bug

rospolosco rospolosco at ...29...
Fri Jun 24 20:38:17 CEST 2005


Hello Benoit.

I found this bug. I made a form with a button and a drawing area.

When I click the button I would change the background color of
the drawing area and draw a white rectangle. But:

on first button click only background color changes;

on second click I finally see the rectangle.

To work around this little problem I added this line
to the code:

WAIT 0

and now on first button click everything goes well.

I've attached the buggy code. Just uncomment the
WAIT 0 line to work around the bug.
This is the code I run with Gambas 1.0.6.
The problem exists in 1.0.6 and 1.9.9. 

My system:

OS: GNU/linux Mandrake 10.1
kernel: 2.4.31
CPU: Athlon 900 Mhz
Ram: 192 Mb
Gambas 1.0.6 

Thanks for Gambas,

Stefano

P.S.

In 1.9.9 the autocompletation in .Perm. inside
a WITH  END WITH construct doesn't work.
I mean:

WITH Stat(a file)

    .Perm.(no_auto_completation user-group-other)

END WITH





 





 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugdraw-0.0.1.tar.gz
Type: application/x-tgz
Size: 684 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050624/5843d5cf/attachment.bin>


More information about the Devel mailing list