[Gambas-user] Passive wait ???

Benoît Minisini gambas at ...1...
Tue Sep 22 23:48:09 CEST 2009


> I'm trying to implement soft of a "status bar" on my application.
> When certain actions are performed, I want to display the successful
> results on this status bar, rather than a pop-up message. This is an
> attempt to reduce the number of clicks necessary (get annoying after a
> while).
> 
> So I thought, to accomplish this, I can add a text label a the bottom
> of my form, and use it as a status bar.
> When a task is performed succesffully, I want it to display the
> message for 5 seconds and then clear the status bar, so I thogh
> 
> tlStatusLbl.text = "Task succeeded"
> wait 5

Why waiting for five seconds? Just use WAIT.

-- 
Benoît Minisini




More information about the User mailing list