mouseDown and within
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Sat Apr 23 12:21:25 EDT 2005
Hi Tom,
Could not you send the mouseUp message by yourself? ;-)
Simplified here:
on CheckOtherButtons
repeat with i = 1 to the number of btns
if the mouse is down then set the hilite of btn i to the mouseLoc
is within the rect of btn i
else
if the mouseLoc is within the rect of btn i then
set the hilite of btn i to false
send mouseUp to btn i
exit CheckOtherButtons
end if
end if
end repeat
send "CheckOtherButtons" to me in 50 milliseconds
end CheckOtherButtons
Best regards from Paris,
Le 23 avr. 05, à 18:02, Thomas McGrath III a écrit :
> So here is what I have so far (adapted to my needs of course). AND it
> works. Sort of. The problem is still two fold:
> 1. If I release the mouse over another acceptable control there is no
> mouseUp sent to it since the mouseDown doesn't want to. This is the
> same in a mouseMove.
Amicalement,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list