And another oddity: once a painted image control is selected, then mouseEnter is fired upon entering the rect of the control.
Bernard On Mon, Feb 2, 2015 at 3:08 PM, Bernard Devlin <bdrun...@gmail.com> wrote: > Thanks for the suggestions. I'm guessing I'll need to use some kind of > proxy control (as Scott suggested) to tell me when the mouse has entered an > image control which has been painted. > > I need to be able to distinguish when the mouse enters this type of image > control rather than other types of image, and I was doing that by having a > custom property set on such image controls. The painted area may only be 5% > of the image, and I need to know when the control itself is under the mouse. > > Here's another oddity: mouseMove is not fired until the mouse enters the > painted area of such an image control. Odder still, mouseLeave is fired > even when the painted area is far from the rect of the image control. So, > the firing of mouseEnter and mouseLeave are very different when an image > control is in this state. > > Should this (unexpected?) behaviour of painted images be classed as a bug > or a feature? > > Regards > Bernard > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode