buttonMessage
Syntax
[the] buttonMessage of <button>
set the buttonMessage of button "OK" to "okButtonClicked"
Explanation
The buttonMessage
property allows you to specify the name of a command message to be
sent to this button (and then up the message hierarchy to the card, window and project)
when the button is clicked. This is sent in addition to the mouseUp
message, and is
especially useful when you want to handle clicks in certain buttons at a higher level
(e.g. funnel clicks in all game tiles to the card).