On 07/02/2016 07:20 AM, David Bovill wrote:
It is inconsistent.
Unsurprisingly, I find myself agreeing with Mark Waddingham here (we Mark Ws have to stick together). In preOpenCard you're still in transit, so you haven't yet arrived at the destination card. In that case the card you came from is still the current card. After the preOpenCard handler has finished, the card you came from is added to the recent cards list and the destination card becomes current.
Does querying "the target" in the preOpenCard handler give you what you want in addition to "the current card"?
-- Mark Wieder [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
