[Gambas-user] Question: Wait-sign on start

Fabien Bodard gambas.fr at gmail.com
Wed Feb 13 05:24:14 CET 2019


Hi,

At the start of your program do

Inc application.Busy


Then when your application is loaded
For exemple at the end of form.open or form.show of your main form just do

Dec Application.Busy

When Application.Busy is >to 0 then then the wait cursor is displayed.

This way allow to have imbricated call to the waiting state

Regards,

Fabien Bodard

Le mar. 12 févr. 2019 18:37, Rolf-Werner Eilert <rwe-sse at osnanet.de> a
écrit :

> Under Ubuntu Mate I don't get a Wait mouse icon when I start a Gambas
> program. Sometimes I am too hasty and don't doubleclick at one spot, so
> it doesn't start the program. But sometimes it just starts a bit more
> slowly, so when I'm nervous I start it twice. You know what I mean... :)
>
> Is it possible to get a Wait mouse icon on start, or is it a drawback of
> the interpreter which can't be changed?
>
> I know KDE has an option to set a jumping mouse on any doubleclick of
> some icon on the desktop, but in Mate other programs (those which are
> binaries) have it too.
>
> Regards
> Rolf
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190213/4cdac7ac/attachment.html>


More information about the User mailing list