Detecting the stack that have the mouse pointer

Scott Rossi scott at tactilemedia.com
Mon Apr 4 14:41:42 EDT 2005


Recently, Ken Ray  wrote:

>>  on checkMode
>>   put the openStacks into tList
>>   repeat for each line L in tList
>>     if within(stack L,the screenMouseLoc) then put the mode of stack L
>>   end repeat
>>   send "checkMode" to me in 50 millisecs
>>  end checkMode
> 
> Can't you just say:
> 
> put the mode of the mouseStack

Even better - thanks Ken. :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list