[Gambas-user] Strange error with arrays

Charlie Reinl na2492 at ...9...
Wed Feb 23 11:17:22 CET 2005


>On Wednesday 23 February 2005 08:23, Eilert wrote:
>> Ha!
>>
>> You don't have the patch from Benoit! That's true, without that patch,
>> the color switches don't run. Benoit explained it like this:
>>
>> ---
>> Yes. The warning messages, and the bug (I think) come from the fact that

>> you
>> try to create a DrawingArea with width=height=0 px.
>>
>> I patched the DrawingArea widget, so that when it is cached, the internal

>> bitmap cache is always at least one pixel by one pixel.
>>
>> Here is the patch...
>> ---
>>
>> What he did not explain is how I could avoid this. Maybe I got him
>> wrong, but if you see the reason just tell me.
>>
>
>I don't know. You must put a breakpoint on the function start to see when 

>exactly it is called, and why you set the DrawingArea width and height to 

>zero sometimes.
>
>-- 
>Benoit Minisini
>mailto:gambas at ...1...

Salut Rolf,

thanks for the patch, will try it.

What I figured out was , when I set the Seite.cached property to false
it ran, but I can't see the result only for a short moment.

Will see what happend with the patch.

Amicalment
Charlie
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *




More information about the User mailing list