Mark has hit the nail on the head. The "currentCard" property (of a
stack) will yield the card currently showing in a stack, even if it is
not the defaultstack, even if it is invisible. In order to use
"current" or "this card" you will have to set (and often reset) the
defaultStack. "currentCard" eliminates the defaultStack two-step.
BONUS: When you set the currentCard of a stack (instead of using "go
to cd n"), the stack will NOT show if it is invisible, but the current
card will change. Very handy! We use this call in GLX2 and VAB (oops,
did I say that out loud!). "currentCard" has been around for a while--
part of the later 2.7 versions of Rev, I believe. It's not all that new.
Best,
Jerry Daniels
Daniels & Mara, Inc.
Makers of GLX2
http://www.daniels-mara.com/glx2
On Jan 13, 2008, at 2:57 PM, Mark Swindell wrote:
On Jan 13, 2008, at 12:38 PM, Randall Lee Reetz wrote:
How do i refer to a card in another window (stack) if all i know
is that it is the current card in that window?
The currentCard of window x?
-Mark
_______________________________________________
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