I have a field in a stack and a substack that I open as a palette. I want to
know what field has the selection point inside it when I click on the
palette, and having problems help appreciated:
on mouseUp
put the focusedObject & return & the selectedChunk
end mouseUp
This is the script in the button in the palette. And it works fine if there
is more than 1 character selected. If the insertion point is within the
field but no character selected then both lines are empty
This is not what I'd expect, with this script in the field:
on enterInField
put the focusedObject & return & the selectedChunk
end enterInField
I get:
field id 1035 of group id 1033 of card id 1002 of stack "/Hollywood/Desktop
Folder/OPN/Sophistry/argument.mc"
char 2 to 1 of field 3
As expected. I have radio buttons in the palette, but various tweaks have
not helped yet - what am I missing?
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.