Mouse Events Transparency
Mark Wieder
mwieder at ahsoftware.net
Tue Jun 3 15:45:18 EDT 2008
Randy-
> How do you pass the mouse events from the image covering the button to
> that button? All I can do with pass is pass the mouse events from image
> to the card.
Right. You won't be able to pass the events directly that way because the
objects are at the same level in the hierarchy:
image ----- button
|
card
|
stack
"pass" tells the application "I'm done processing this message, hand it off
to the next object down the list" (or up the list if you see things that
way). Even though you're seeing the image as being visually "in front of"
the button they're peers as far as the message path is concerned. So in
order to get the "xyz" message between to peers you'd have to have the image
say
send "xyz" to button "aButtonInThisStack"
--
Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list