Richard, see if this helps:

if the selectedText of fld 1 of stack "Untitled 1" is empty then
    focus on fld 1 of stack "Untitled 1"
end if

I tried it here and it works.

Richard Gaskin wrote:

I'm making a toolbar in a palette window which modifies text in a field in a toplevel stack. I find that when text is selected in the field the palette buttons work great, but if the cursor is inserted with no selection then clicking in the palette window causes the field to lose focus.

Any of you know how to make that work?

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to