Groups do not receive mouseEnter messages?
dunbarx at aol.com
dunbarx at aol.com
Mon Jun 24 20:24:29 EDT 2019
Confirmed here.
I have never really tried any of the things you mentioned, but no messages at all are sent to the group I just made. Interestingly, and consistent so far, double clicking within the group boundary, but not in any child control, opens the inspector for the card.
So although the dictionary talks about many properties of groups, and states that it is a control in its own right, it does not seem to have much body outside of its children. This even though one can make the group red as a beet. The "object" certainly exists, and has a multitude of properties. It just doesn't seem to be quite there.
Craig
-----Original Message-----
From: Paul Dupuis via use-livecode <use-livecode at lists.runrev.com>
To: How LiveCode <use-livecode at lists.runrev.com>
Cc: Paul Dupuis <paul at researchware.com>
Sent: Mon, Jun 24, 2019 7:28 pm
Subject: Groups do not receive mouseEnter messages?
In LC9.0.5rc1 under Windows, I have a test stack with 2 opaque groups
with show borders - one covering the top half of the card and one
covering the bottom half of the card. In side the top group are a couple
buttons with plenty of white space around them and inside the bottom
group are a couple of graphic objects with plenty of white space around
them.
The buttons and graphics have no scripts (currently). Each group has an
"on mouseEnter" handler that "choose browse tool" for the top group and
"choose pointer tool" for the bottom group. The simple idea being when
the user moves the mouse into the bottom group, the pointer tool is
chosen so they could click on and resize the graphics. And when the
mouse enter the top group, the browse tool is chosen so the user can
click on the buttons without selecting them.
Neither group seems to receive the mouseEnter messages. Instead, the
groups mouseEnter handler is executed for the top group only when the
mouse is moved over one of the buttons (which has no mouseEnter handler
and so the message is passed to the group) and likewise, the bottom
groups mouseEnter handler is executed only when the mouse is moved over
one of the graphics.
Do GROUPs not receive mouseEnter directly? This seems like a bug?Or is
there some trick (property settings) for a group to receive mouseEnter
messages?
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list