firing mouseEnter msg of an Image control which was painted

Bernard Devlin bdrunrev at gmail.com
Sun Feb 1 16:36:44 EST 2015


Hi all,

If I drag an image object to a card, mouseEnter is triggered when the mouse
enters that image control's border (no actual image filename has been
specified, so the image is "blank" - although strangely the imageData of
such a "blank" image is not itself empty).

If I then use the paint tools palette to paint a thick line in the middle
of that image, no mouseEnter is triggered on entering the control's border;
that message is not fired until the mouse enters the painted area of the
image control.

How can I get the mouseEnter to fire when the mouse enters the image
control's border, once the image control has been altered with the paint
tools?

Regards,
Bernard



More information about the use-livecode mailing list