[Gambas-user] Wait in gb.web.gui keeps waiting forever

Jussi Lahtinen jussi.lahtinen at gmail.com
Wed Feb 1 14:50:56 CET 2023


Don't use wait inside event handler. Use timer or sleep instead.

Jussi

On Wed, Feb 1, 2023 at 12:06 PM Safiur Rahman <isafiur at gmail.com> wrote:

> Hi
>
> Wait Syntax in gb.web.gui keeps waiting forever without throwing any
> error. This problem was not present in gambas 3.17.3
>
> Eg. in gambas web application, with a button
>
> Public Sub WebButton1_Click()
>
>   Dim xx As String
>
>   xx = "abc"
>   Wait
>   Message.Info(xx)
>
> End
>
> The busy symbol continues for ever. Attached a project.
>
> --
> Regards
> Safiur Rahman
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230201/65cdd61a/attachment.htm>


More information about the User mailing list