Groups and events
Dar Scott
dsc at swcp.com
Mon Mar 8 00:12:30 EST 2004
On Sunday, March 7, 2004, at 09:38 PM, Ken Norris wrote:
> on mouseDown
> beep
> end mouseDown
>
> ...fails...nothing happens. Why?
Groups will respond to mouse events. The event might be caught by a
handler in a containing control or group or, if the group has
background behavior set, the card. A front script might also steal it
away
Perhaps you defined a mouseDown handler in an contained control.
Example:
Suppose you have a control owned by a group that is on a card. The
path is like this:
==> front scripts ===> control ====> group ====> card ===> ...
Dar Scott
More information about the use-livecode
mailing list