[Solved] Wrong logic of the target (for events)?
Posted: Mon Jun 06, 2016 1:24 pm
There seems to exist a "wrong" logic for "the target" (for events only?).
Script a button "ONE" with
Script a button "TWO" with
Script the card with
Click on button "TWO". You'll get
Script a button "ONE" with
Code: Select all
on mouseUp
answer "ONE: " & (the long id of the target = the long id of me)
end mouseUp
Code: Select all
on mouseUp
send "mouseUp" to btn "ONE"; pass mouseUp
end mouseUp
Code: Select all
on mouseUp
answer "CARD: " & (the long id of the target = the long id of me)
end mouseUp
- "ONE: true" (from button "ONE") -- I would expect "false" here!?
- "CARD: false" (from the card) -- as expected.