Groups do not receive mouseEnter messages?

J. Landman Gay jacque at
Tue Jun 25 13:48:53 EDT 2019

Another easy workaround if you want a group with a transparent background 
is to put a group-sized graphic behind other objects as mentioned, but set 
the blendlevel of the graphic to 99. Visually it won't be seen but it will 
still trap messages.

Jacqueline Landman Gay | jacque at
HyperActive Software |
On June 25, 2019 12:31:55 PM Paul Dupuis via use-livecode 
<use-livecode at> wrote:

> There are clearly use cases where it makes sense for a group (such as it
> it just being used to contain or enclose a set of other controls) NOT to
> received mouse event messages.
> There are also use cases where it DOES make sense of a group to received
> mouse event messages, such as if you are using a group as a drawing canvas.
> Yes, wonderfully in Livecode, most things that can't be done one way,
> can be coded around to work another way.
> I would suggest an enhancement to LiveCode to add a property to Groups
> that toggle between:
> behave as a container: current group behavior regarding mouse event
> messages [default]
> OR
> behave as an object: cause the group to received mouse event message
> (and other routine object messages) following the usual rules (i.e. if
> there is a button in the group that has a mouseEnter handler it gets the
> message when the button is entered, but the group gets a message when it
> is entered, just as if you have a small button on top of a large button)
> I don't know what to call the proposed property, and I certainly would
> not, at this time, prioritize it. I've submitted nearly 20 bugs in the
> last 60 days and I'd much rather see more of those fixed that a new
> feature added. That said, a property like this could be s solution for
> both use cases of groups.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:

More information about the Use-livecode mailing list