On a new card place a pulldown menu button. In the button script:
Code: Select all
on menuPick pItemName
set the label of me to pItemName
end menuPick
Now, in the card script:
Code: Select all
on mouseDown
exit to top
end mouseDown
So one cannot trap "mouseDown" at the card level and expect a menu button script to fire, even though that script is local to the button . OK, I guess, as long as one knows about it. I had such a mouseDown handler that validated certain target controls, not allowing that message to pass through the ones of interest to me. It crippled new menu-style buttons.
Now I know.
Is this OK with everyone?
Craig