Dave,

Try putting that in the on StartUp handler. It is being run twice your way. Once in the splash screen stack and again in the MainWindow stack. Using StartUp will make it work just once.


HTH


Tom

On Apr 8, 2004, at 4:13 PM, David Burgun wrote:

Hi Dave (easy name to remember!),

I think there is something very weird going on! This is how I have my project setup:

Main Stack, just a splash screen, it has this script attached:

Stack Script:

on openStack

wait for 2 seconds

hide stack "Splash"
go stack "MainWindow"

end openStack

Which waits for 2 seconds as expected and disappears, the "MainWindow" stack appear as the frontmost window, then (I think 2 seconds later), the "MainWindow" gets de-selected!

I've just tried it again and now it seems to work as expected!

Bet here's something else that is weird. In the "MainWindow", I have a button that just has this script on it:

on mouseUp
modal "PageSize"
end mouseUp

The "PageSize" Stack apprears, but if I click it's OK button, there is a delay before the button gets actioned. I'm not sure if it's just the RunRev IDE overhead or if it's related.

It's really hard for me to know what's going on here! I'm new to RunRev and I'm not sure if I am doing something wrong somewhere. Anyway, I'm taking a break now, I've been at it all day, I'll come back to it later or tomorrow.

Thanks for your help
Dave


This is not clear to me. What does the button script say? Is this the
one that includes "go StackPageSize"? I'd use toplevel rather than go.
Assuming that StackPageSize is a substack of your main stack, it will be
available. If it's not, then you'll need to use open. To be certain, you
can use open on one line and toplevel on the next.
Dave


More on this.

I have the Main Stack on the second screen and I press the button.
The new stack appears on the main screen and it active for a short
while, then it goes inactive and the Main Stack goes active again!

What am I doing wrong?

Thanks for your help
Dave

_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution



Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to