A question about openCard
Simon Knight
smk at anvic.net
Mon Jun 3 07:19:17 EDT 2019
"Is there some simple way that an openCard handler can branch based on what card it is coming from?"
My solution would be to give each card a customprop named say “uCalledBy". Then when the app changes cards I set this prop e.g.
Set the uCalledBy of Card 42 to “HitchHikers”
Go to Card 42
Then in Card 42 ’s opencard or anywhere else
If the uCalledBy of me is “HitchHikers” then
answer “Where is your towel?”
end if
Simon
More information about the use-livecode
mailing list