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

Bruce Steers bsteers4 at gmail.com
Wed Feb 1 13:44:16 CET 2023


I think using Wait with no timeout waits for events in the gui components
but GB.web works differently and probably does not receive the same events
as a gui does.

So you'll have to use a timeout.

Remember GB.web.gui is not the same as other gui toolkits



On Wed, 1 Feb 2023, 11:18 Safiur Rahman, <isafiur at gmail.com> wrote:

> Hi
>
> In gb.qt5/gb.qt4/gb.gtk3 the message is displayed immediately (but not in
> gb.web.gui).
> Moreover, the wiki says:
>
> "*If Delay is not specified:*
>
> The function processes all pending events and returns immediately."
>
> On Wed, Feb 1, 2023 at 3:50 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
>>
>
>
> --
> 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/70d59338/attachment.htm>


More information about the User mailing list