Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!r37g2000yqn.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Putting a progress bar on a GUI - sorry, you're out of luck
Date: Fri, 17 Apr 2009 18:32:29 -0700 (PDT)
Organization: http://groups.google.com
Lines: 41
Message-ID: <36d79543-ad5c-4de8-9011-652b115de6de@r37g2000yqn.googlegroups.com>
References: <a6b98772-2bb0-4a16-932a-918c1d1cf1c8@k19g2000yqg.googlegroups.com> 
	<see-7E5766.21181117042009@news.frontiernet.net>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1240018349 16963 127.0.0.1 (18 Apr 2009 01:32:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 18 Apr 2009 01:32:29 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r37g2000yqn.googlegroups.com; posting-host=75.186.70.56; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	GTB5; .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)
Xref: news.mathworks.com comp.soft-sys.matlab:533645


On Apr 17, 9:18=A0pm, Doug Schwarz <s...@sig.for.address.edu> wrote:
> In article
> <a6b98772-2bb0-4a16-932a-918c1d1cf...@k19g2000yqg.googlegroups.com>,
>
> =A0ImageAnalyst <imageanal...@mailinator.com> wrote:
> > How can I put a progress bar onto my own custom =A0GUI?
>
> [snip]
>
> I have one that I've been working in my spare time that eventually will
> go up on the FEX. =A0It's not done, but give me a couple of days to at
> least make sure it's working and I'd be glad to send it to you. =A0It's a
> class using the new class syntax so you have to be using at least R2008a
> to run it. =A0I have tried to make it as much like a uicontrol as I can.
>
> Use it like this:
>
> =A0 h =3D uiwaitbar('Position',[20 100 200 16]);
> =A0 for i =3D 1:100
> =A0 =A0 set(h,'Value',i/100)
> =A0 end
>
> Send me an email to confirm your email address.
>
> --
> Doug Schwarz
> dmschwarz&ieee,org
> Make obvious changes to get real email address.

---------------------------------------------------------------------------=
--------
Doug:
I've been using the code you posted earlier in this thread.  It works
nicer than any I saw on the FEX so far.  It's great that you're
working on converting it from a snippet into a full-fledged class.
Let me know (here) when it's done and I'll download it.

Does the "Position" arg depend on whether the units property of the
main figure are "normalized," "pixels," etc.?
Thanks,
ImageAnalyst