What about using MessageLabel?

 Regards


--
David



----- Original Message ----
From: M0E Lnx <m0e....@gmail.com>
To: mailing list for gambas users <gambas-user@lists.sourceforge.net>
Sent: Tuesday, September 22, 2009 2:55:24 PM
Subject: [Gambas-user] Passive wait ???

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
tlStatusLbl.text = ""

And that works, except that while it's in that WAIT loop, the whole
app lags, and the app doesn't move or refresh until the wait period is
over.

Does anyone know a way to send this wait to the background or another
way to implement this behaviour?

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



      


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to