Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!postnews.google.com!k19g2000yqg.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Putting a progress bar on a GUI - sorry, you're out of luck
Date: Thu, 11 Dec 2008 07:13:20 -0800 (PST)
Organization: http://groups.google.com
Lines: 40
Message-ID: <a6b98772-2bb0-4a16-932a-918c1d1cf1c8@k19g2000yqg.googlegroups.com>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1229008400 17575 127.0.0.1 (11 Dec 2008 15:13:20 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 11 Dec 2008 15:13:20 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k19g2000yqg.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
	CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 
	3.5.21022),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
Xref: news.mathworks.com comp.soft-sys.matlab:506352


How can I put a progress bar onto my own custom  GUI?

I know Ash asked this on Sept. 30th, and Walter said to check out
waitbar(), but this solution doesn't really work.  For one thing,
waitbar brings up a completely separate window - it is not placed on
my main GUI.
Secondly, and most annoyingly, when my GUI is  busy crunching away in
it's loop and displaying stuff (like images) on the GUI, the GUI comes
to the top and completely obscures the waitbar (which is now
underneath).  I like to have my GUI's be full screen and a (bad)
workaround would be to make the GUI non-fullscreen, and try to arrange
the waitbar and GUI so that the waitbar does not get obscured, but
this is not really a nice solution.

Similarly there are several waitbar or progress bar functions uploaded
to the File Exchange but they're all separate windows and can't be
placed on your own custom GUI.  GET A CLUE MATHWORKS!  Look at the
most commonly searched terms on the FileExchange:
"abort ascii ascii progress bar bar class completion eta example
graphics gui gui tools interrupt merge meter ode process progress
progress bar progress text status terminate time left utilities wait
bar waitbar  "
13 of the 25 terms of them are various names for showing progress or
completion.  Doesn't that tell you something?????!!!!!

You should be able to have a progress bar placed on the GUI.  MATLAB
only adds a built-in control every few years (most recently the table/
grid control).  Why can't they add something as basic, simple, and
useful as a progress bar.  I know I can add third party ActiveX
controls but for crying out loud, MATLAB should add this fundamental
essential control that will most likely get heavily user by their
customer.  Like I said, over half the file exchange searches are for
such a capability!!!

So I guess the answer to my question is "You can't - unless you use
third party AcrtiveX controls" so my question will probably turn into
a request for enhancement for a future version.

Regards,
ImageAnalyst