Hi,

Thanks a lot, my preferred method is to set the defaultStack back, else the stack go to the front and hides the Progress Window.

All the Best
Dave


On 12 Nov 2007, at 02:27, Mark Schonewille wrote:

Hi Dave,

A quick fix is to set the defaultstack before using "this". Naturally, you can also change "this stack" into the name of your stack.

I don't know whether your script currently allows it, but the "correct" way of doing this would be to go back to the original stack after opening the progress window:

go stack "Progress Window"
go stack "Original Stack"

and if this causes a problem, try

go stack "Progress Window"
set the defaultstack to "Original Stack"

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com


Op 12-nov-2007, om 3:07 heeft David Burgun het volgende geschreven:

Hi,

I have a stack that runs a task that takes a about 2 mins to run. While it's working I want to display a simple Progress window, this works ok, except the when I Go to the Progress stack, the calling stack loses it's context so that references to fields on the stack don't get resolved, e.g. "this" stack refers to the Progress Stack, not the Driving Stack.

How can I display one stack (e.g. the Progress Stack) have have it update, but have code running in another Stack? I am "Sending" messages to the Progress stack to set the thumb position every N cycles.

Thanks a lot
All the Best
Dave


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to