mouseDown and within
Thomas McGrath III
3mcgrath at adelphia.net
Sat Apr 23 12:25:56 EDT 2005
Eric,
I just posted another response before I saw this one. In the other the
mouse up is faked a little bit.
Tom
On Apr 23, 2005, at 12:21 PM, Eric Chatonet wrote:
> 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
> ----------------------------------------------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list