How to target selected field of another stack

Brahmanathaswami brahma at hindu.org
Tue Sep 25 18:42:14 EDT 2012


I want to add a pull down menu to a small tools palette stack (B) that 
acts on the fields of a second "main" stack (A).

even if the window mode of the tools stack (B) is palette, the traversal 
of the pull down menu is off and I have my cursor in a text field of the 
"main" stack (A)... the focusedObject() always returns the card of the 
tools stack (B) and not the field I have my cursor in.

Oddly "the selection" referred to in scripts of the palette stack (B) 
*does* target the cursor location/selected text of the selected field in 
stack (A)

So why can't I get the focusedObject() of that field?


Brahmanathaswami
Kauai Aadheenam





More information about the use-livecode mailing list