hi,
i have 2 text boxes for username & password.In page load,the cursor is
not selected the username by default.
how make the username by default(blinking cursor) at startup?
i used the following methods
callLater(username1.setFocus());
focusManager.setFocus(username1);
focusManager.showFocus();
stage.focus=username1;
username1.setFocus();
/* username1.focusEnabled=true;
focusManager.showFocusIndicator = true;
focusManager.setFocus(username1);
username1.setSelection(0,0);
username1.focusManager.setFocus(username1);
focusManager.showFocusIndicator=true;
focusManager.setFocus(username1);
username1.focusEnabled=true;
username1.drawFocus(true);
but not working
On Apr 9, 7:50 pm, Dan Vega <
danv...@gmail.com> wrote:
> txtbox.setFocus();
>
> Thank You
> Dan Vega
> danv...@gmail.comhttp://
www.danvega.org