>I'm having trouble determining by script whether or not a stack is 
>open.  I thought I might check its visibility, but "the visible of 
>stack xyz" always returns true.  Is there another way to do this.  In 
>SuperCard I think I would use (although it has been a long time) 
>something like "if the long ID of wd xyz is in the windows..." 
>Anything similar (or more direct) in MetaCard?

To test is the window is open try:

if the mode of stack "mtStack" is 0 then
  toplevel "myStack"
else set the vis of stack "myStack" to true

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to