|
Your sample should work if your textfield is set to input or
dynamic. But you'll only see a difference if there is text in the
field. If on the other hand you are using the textInput component you need
to use the UIComponent.setFocus method. It looks like:
componentInstance.setFocus();
With this method you will see the cursor in the field regardless of whether
there is text in the field.
Bill Lane
>>> [EMAIL PROTECTED] 05/24/05 8:27 am >>> Good morning
peoples. Now I’ve written this small
app and everything is working sweet. Now I thought I’d put the finishing
touches on it by placing focus on the first text
field. Now I’ve googled and looked
at the documentation and it looks simple. Eg Selection.setFocus(“myText_txt”); I
can’t seem to get this to work. Is there a trick to
this? Cheers b You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to fugli as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ |
- [fugli] Re: Setting focus to a text field Bill Lane
- [fugli] Re: Setting focus to a text field Ben Yee
- [fugli] Re: Setting focus to a text field Mike Pearce
- [fugli] Re: Setting focus to a text field Mike Pearce
- [fugli] Re: Setting focus to a text field Ben Yee
