Is this the expected behavior?

David Bovill david at viral.academy
Fri Jul 1 14:39:10 EDT 2016


>
> on preOpenCard
>     put the short name of recent card
>     pass preOpenCard
> end preOpenCard


Why is the recent card when specified in a preOpenCard handler the name of
the current card, while it is the recent card if the same script is called:

on openCard
>     put the short name of recent card
>     pass openCard
> end openCard

Given that preOpenCard is called before actually displaying the card and
the openCard handler being called this seems wrong. Is this behavior
present in older versions of LC - or is this a bug?



More information about the use-livecode mailing list