Is it possible to set the loc of a stack before it is opened? I have a template stack which I use to create clones from, so it has to be called on-screen in order to do the clone operation. When this goes on, there is a pretty unsightly flash of the stack appearing, and then being quickly cloned and discarded. I'd like to call that stack on-screen, but actually have it off-screen... is the only way to resolve that flashing by placing scripts in the pre-open stack of the stack to be opened, or can I do it somehow from the calling stack?


On Aug 22, 2004, at 4:34 AM, [EMAIL PROTECTED] wrote:

Try  putting this script in the stack opening window...

on preopenstack
  setBuffer FALSE
end preOpenStack

on openStack
  send "setBuffer TRUE" to me in 30
end openStack

on setBuffer flag
set the alwaysBuffer of this stack to  flag
if not flag then set the bottomRight of this stack to  -100,-100
else set the loc of this stack to the screenLoc
end  setBuffer

This should solve the situation for any style of window. Please let me know.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

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

Reply via email to