Consider using States. You can have the app in one state and the progress
meter for your downloading in another. Whenever you're downloading data,
just make the progress-meter state the currentState. When you're all done
with the data processing, switch back to the other state.
 
~randy


   _____  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Friday, November 16, 2007 10:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: how do I freeze the users actions while data
is loading



this is cake in a framework like Cairngorm.  Setup a command, event, etc.
one event would be 'showLoading'
 which has a command that increments a variable by 1 and if this variable >
0, shows the popup.  Another event is called say 'hideLoading'.  It
decrements this variable, if this variable is <1, destroy the popup. 

DK




On Nov 16, 2007 7:50 AM, Mark <HYPERLINK
"mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]> wrote:


I guess sometimes the "easy" answer is the one we overlook. I don't 
know why I didn't think about using some kind of "wait" message or 
progress bar in a pop-up. Thanks.

I have one last question about this. When do I destroy the pop-up? 
I'd like it to stay on until all the data has been parsed, sorted 
then loaded into the dataGrid. I thought it would be on the 
dataGrid in UpdateComplete, but that fires off everytime the DG 
updates (doesn't it?). So when is the best time to do this?

Thanks Again

--- In HYPERLINK "mailto:flexcoders%40yahoogroups.com";
[EMAIL PROTECTED], Tom Chiverton <[EMAIL PROTECTED]> 


wrote:
>
> On Thursday 15 Nov 2007, Mark wrote:
> > to blur the screen out during this time like when using a pop- 
up window?
> 
> Why not pop up a model please wait box ?
> 
> -- 
> Tom Chiverton
> Helping to widespreadedly orchestrate unique supply-chains
> on: HYPERLINK "http://thefalken.livejournal.com";
\nhttp://thefalken.-livejournal.-com
> 
> ************-*********-*********-*********-*********-****
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF. A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by The 
Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged. If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents. If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit HYPERLINK
"http://www.halliwells.com"; \nwww.halliwells.-com.
>







-- 
Douglas Knudsen
HYPERLINK "http://www.cubicleman.com"http://www.cubiclem-an.com
this is my signature, like it? 



 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007
8:57 PM
 

Reply via email to