[Gambas-user] another bug ?

Benoit Minisini gambas at ...1...
Thu May 20 00:14:05 CEST 2004


On Wednesday 19 May 2004 23:26, Rob wrote:
> On Wednesday 19 May 2004 17:14, Fabien Bodard wrote:
> > PUBLIC SUB Form_Resize()
> >   ME.Text = ME.width
> > ME.Width = 80
> > END
>
> I would think that the above code would cause an infinite loop.
> You'd need something like "IF ME.Width = 80 THEN RETURN" at the
> top, I would imagine.
>
> Rob
>
>

Fortunately, ME.Width = XXX does not raise a Resize event if the width is the 
same.

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list