OpenCard and preOpenCard Odd Behavior

dunbarx at aol.com dunbarx at aol.com
Sun Jul 7 13:24:15 EDT 2013


Roger.


Something in your stack. I made a six card stack with:


 on preopencard
   put the number of this cd into fld 1
end preopencard


on opencard
   put space & random(99) after fld 1
end opencard


No issues. Matters not if you switch the order of hanlders. Check the messagewatcher?


Craig Newman


-----Original Message-----
From: Roger Guay <irog at mac.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sun, Jul 7, 2013 1:09 pm
Subject: OpenCard and preOpenCard Odd Behavior


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.

Can someone please suggest what might be going on here? 

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

 




More information about the use-livecode mailing list