On 3/10/11 11:06 AM, Richmond wrote:
I have a palette that is a substack of a multi-card stack (i.e. nothing
screamingly original) called "FLOATER".
On the palette I have a close 'iocn' and when the end-user clicks on it
it execute this script:
on mouseUp
close stack "FLOATER"
end mouseUp
which it does . . . . . which is all jolly well and fine, BUT . . . it
also returns the main
multi-card stack to card 1 every time; something I should like to prevent.
It sounds like you have a handler somewhere in the mainstack that goes
to card 1, either on opencard, preopencard, or resumestack.
Try locking messages before executing the "close stack" command in your
floater.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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