Getting a field name

Jim Hurley jhurley at infostations.com
Sun Apr 4 10:37:05 EDT 2004


Jackie, Wouter, and Klaus

Thanks for the thoughts. One by one I am discovering RR capabilities. 
(Has everyone but me received their copy of the printed 
documentation?)

But I can't quite find a way to make "the mouseControl" work. When I 
click on a button on a card with two controls, the answer I get is 
"control 39." God knows where that number comes from.

It appears that the mousecontrol is returning something relating to 
the original palette stack, not the application stack where the mouse 
is clicked. It is not possible to get "the mouseControl of stack 
"myStack."   (MouseConrol will not accept "of stack .....". Maybe 
that would be a nice feature to add.)

I can make do with searching the rects to see which one the mouseloc 
is in. (Even if there is overlap among the controls, one can search 
for *all* controls in which the mouse is located, and then choose the 
one with the higher level.)

Jim


More information about the use-livecode mailing list