[Gambas-user] Keypress events; Solved!

Benoit Minisini gambas at ...1...
Fri May 4 22:10:50 CEST 2007


On mercredi 25 avril 2007, Gareth Bult wrote:
> Ok,
>
> Maybe it's my poor understanding (?) but my code is now working.
>
> This works;
>
> PUBLIC SUB myobj_Keypress()
>
> $grid.MoveTo(0,0)
> STOP EVENT
>
> END
>
> ... and this does not ...
>
> PUBLIC SUB myobj_Keypress()
>
> STOP EVENT
> $grid.MoveTo(0,0)
>
> END
>
> It's now fixed, but I'm curios as to why "STOP EVENT" only works if it's
> the last statement executed in the handler (?!)
>
> Gareth.
>

This bug is fixed in the last revision.

Regards,

-- 
Benoit Minisini




More information about the User mailing list