gettingstarted
[Top] [All Lists]

Re: gettingstarted Digest, Vol 9, Issue 57

To: Mailing List REALbasic <gettingstarted at lists dot realsoftware dot com>
Subject: Re: gettingstarted Digest, Vol 9, Issue 57
From: Steve Kirkby <zplfg74s at today dot plus dot com>
Date: Fri, 31 Dec 2004 19:59:33 +0000
Delivered-to: gettingstarted at lists dot realsoftware dot com
On 31/12/04 6:00 pm, Will Leshner wrote:

> 
> On Thu, 30 Dec 2004 20:46:07 +0000, Steve Kirkby
> <zplfg74s at today dot plus dot com> wrote:
> 
>> I can't get my ChasingArrows1 to work properly. I have a Pushbutton which
>> when pressed runs some code involving a For-Next Loop. I want ChasingArrows1
>> to appear just before the Loop starts, to animate while the Loop runs, and
>> to disappear just after the Loop has ended. Not rocket science I am sure.
> 
> I think the for-next loop is probably keeping your UI from getting a
> chance to update. You may want to take a look at Threads for a way to
> let your UI update while you are doing other work.

But the ChasingArrows commands/statements are outside the loop. That is, the
ones trying to get it to appear are just after the Sub's Dims and before the
For of the For/Next loop, and the ones trying to get it to disappear are
just before the End Sub and after the Next of the For/Next loop.

> As for
> ChasingArrows themselves, basically they will spin when they are
> visible. You just show them when you want them to spin and hide them
> when you are done.

Thanks, I didn't know that.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>