Detecting the stack that have the mouse pointer

J. Landman Gay jacque at hyperactivesw.com
Mon Apr 4 15:17:28 EDT 2005


On 4/4/05 12:06 PM, Alejandro Tejada wrote:

> Hi Developers,
> 
> I have a mousemove handler in
> a frontscript. 
> This mousemove handler puts the X,Y
> position in the message box and i want
> to know the mode of the stack over which
> the mouse pointer is.
> Toplevel stacks have a mode of 1
> palettes, modeless stacks and modal stack
> have different numbers.
> 
> for example:
> 
> i expect that when i move the mouse over
> a stack, appears in the message box:
> 
> 35,79 stack "mytoplevelstack" mode 1
> 
> or
> 
> 10,10 stack "myCustomstack" mode 2
> 
> How could i do this without clicking on
> the stack?

Will the "mousestack" property help? "Get the mode of the mousestack".

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list