how to combine mouseEnter & mouse is Down?

dunbarx at aol.com dunbarx at aol.com
Tue Oct 22 11:01:18 EDT 2013


Hi.


Can you change to:




on mouseStillDown
   if the mouseLoc is within the rect of fld 1 then
      doYourThang
end mouseStillDown


Now this will have to be tweaked a bit so that it fires only once. You will probably have to set a flag somewhere on the intital "mouseDown" and clear it when the conditional is met.


Craig Newman



-----Original Message-----
From: Björnke von Gierke <bvg at mac.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Oct 22, 2013 9:15 am
Subject: Re: how to combine mouseEnter & mouse is Down?


Sadly not. That mouseDown disables almost all of the useful mouse messages has 
annoyed me a lot too :(

On 22.10.2013, at 15:00, Tiemo Hollmann TB wrote:

> Hello,
> 
> I want to fire an action, when the mouse is entering an image, while the
> mouse is down. The problem is, that I don't get the message "mouseEnter"
> while the mouse is down.
> 
> I could work around with mouseMove and testing the mouseloc within the rect
> of the image, but I wonder, if there is a more straight forward solution?
> 
> 
> Thanks
> 
> Tiemo
> 
> 
> 
> 
> 
> _______________________________________________
> 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


-- 

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/



_______________________________________________
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