[Gambas-user] Karmic sqlite problem.
Benoît Minisini
gambas at ...1...
Thu Nov 5 10:32:42 CET 2009
>
> Here is a program and it do hang when you enable me.width in form1
>
> http://old.nabble.com/file/p26203186/crash-test-0.0.1.tar.gz
> crash-test-0.0.1.tar.gz
>
>
> -----
> Regards R. Stormo
>
>
> My Gambas Community http://gambasforum.tk
>
Your program is an endless loop into Form_Resize.
Your form is inside a HBox. So changing the Width triggers a deffered Resize
event. But as the HBox resizes the form later, the Width changed again to its
initial value, and all the process starts again forever!
Changing the size of the form inside its Resize event is a bad idea. What did
you try to achieve?
--
Benoît Minisini
More information about the User
mailing list