SelectAll dependency

Is

elements.fieldname.requestFocus(false);
always required before
elements.fieldname.selectAll();

It seems that way, but I do not see it in my documentation.

not really

elements.selectTest.selectAll();
var v = elements.selectTest.getSelectedText()
application.output(v);

will return the selection (so the complete string)

but what you do is selectAll and then click in the field..
and when you click in the field the selection is gone because you set a new mark.. because of that you need to give it focus first.

maybe we can tweak it a bit better in further releases (selectOnEnter property does special things after you select into the field)