View Full Version : Help with loading message

5 Mar 2009, 6:43 AM
I'm trying to create a loading message to go over a viewport that will update periodically with a new message to show that things are really happening and the user should be patient.

So far I've tried this with no luck:

msg : 'Please wait while we search for your results...',
progressText : 'Searching...',
width : 300,
wait : true,
waitConfig : {interval:200}

// Then later on I call:

Ext.MessageBox.msg('Initialising map');

// and then finally (after a few more attempts at updating the text):


...and what happens is I get a message box...that doesn't update and doesn't hide at the end :)

5 Mar 2009, 6:58 AM
There is no msg() method in Ext.MessageBox.
Are you looking for updateProgress(value, progressText, msg) or for updateText(msg)?

5 Mar 2009, 7:24 AM
Ah - updateText was what I was looking for as it's a wait box so it has an infinite progress bar.

Thanks! :D