Try "current card" instead.
go to current card of stack "x"
put the customProperties["myData"] of current card of stack "x" into
tMyPropsA
etc.
It works.
Phil Davis
On 2/20/15 9:36 PM, Geoff Canyon wrote:
It seems currentcard is undocumented. I don't even know where I came up
with it. But it works in general:
put the long id of the currentcard of the topstack
works fine in the message box. It also works in the script of a button --
generally. As it turns out, the above will give an error *if* the button is
in a palette stack, but not if it's in a toplevel stack. (at least in 6.7.1
on a mac) I can't really call it a bug since "currentcard" isn't in the
dictionary. But it just cost me two hours of my life, so this my primitive
yawp of frustration.
_______________________________________________
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
--
Phil Davis
_______________________________________________
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