Just discovered a trick I didn't know about. This is in the IDE, BTW. I needed to have the first card of one of my stacks as the current card, while I do something from another stack (a utility stack). If I "go card 1 of stack <stackName>" then the stack <stackName> comes to the front, but I want to keep the utility stack as the topstack, so even following this by "go back" or some such looks messy on screen. Instead, I can do this:

   set the currentcard of stack <stackName> to \
           the short name of card 1 of stack <stackName>

and it all happens in the background.

Probably others knew about this, but I didn't, so I'm posting it for those like me for whom it is a new trick.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to