[Gambas-user] Drawing area problems
Paolo Saudin
sdnpaolo at ...69...
Sun Aug 1 19:47:21 CEST 2004
I use Gambas 0.95 on Knoppix 3.4,
It happens you can get a "division by zero" error if you zoom more than
once, I still have to fix it.
To reproduce the error zoom back and forward (draw a rectangle from left
to right[zoom+] and then from right to left[zoom-]) for about seven times.
Thanks
Benoit Minisini wrote:
>On Sunday 01 August 2004 19:08, Paolo Saudin wrote:
>
>
>>Hi everybody,
>>
>>the attached example raise an error when I zoom (at least trhee times) on a
>>chart created using a drawing area. The MouseMove() routine draws lots of
>>rectangles in Inverted mode. Here the errors I get:
>>Message box : "The program has stopped unexpectedly by raising signal #11"
>>Console : QWidget (unnamed): deleted while being painted
>> QPaintDevice: Cannot destroy paint device that is being painted
>>
>>Thanks,
>>Paolo
>>
>>
>
>I get a "Divison by zero" error - I think the zoom is too important for your
>calculations. But no gambas crash.
>
>Which version of Gambas do you use ?
>
>
>
More information about the User
mailing list