Sheet woes...

Klaus Major klaus at major-k.de
Thu Sep 25 16:43:00 EDT 2003


Bon soir Domi,

> So, I replaced "ask" with "sheet"...
> But a new problem arises:
> when I return from the "sheet" stack, it seems that Rev considers that 
> I
> open *again* the stack, with subsequent (pre)openstack messages sent...
>
> This causes a mess with my stack, because it opens at the day's date --
> or it creates a new card at the day's date (it's a diary)!
>
> How to dismiss the (pre)openstack messages in this very case?
> I tempted to put a "lock messages" at the beginning, but this doesn't
> work.

Can't you just store the date and check with a

on preopenstack
   if my_date <> the date then
    ###do preopenstuff...
   end if
   ...
end preopenstack

or something like that?

Just a guess...

> By luck, the opencard messages don't matter...

Hope that helps...


Au revoir

Klaus Major
klaus at major-k.de
www.major-k.de




More information about the use-livecode mailing list