OpenCard and preOpenCard Odd Behavior

J. Landman Gay jacque at hyperactivesw.com
Sun Jul 7 13:41:39 EDT 2013


On 7/7/13 12:08 PM, Roger Guay wrote:
> I have a stack of 6 cards, the first card of which has both a
> preOpenCard and an openCard script. These scripts execute properly
> when the stack is first opened, but they fail to execute if the first
> card is revisited (after the stack is open). Other cards in this
> stack have preOpenCard and OpenCard scripts that always execute when
> the card is visited.

I ran into something similar yesterday but it was because I was closing 
and then reopening a stack whose destroystack property was false. Since 
the stack was already in RAM and the card didn't change, no pre- or 
opencard messages were sent. Are you doing that?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list