[flexcoders] Form Control focus and Default Button

2005-07-28 Thread Allen Manning
Hello Flexcoders, Im working on a simple login form and attempting to accomplish the following: + Assign a default button to login so after page loads and you hit enter the form submits, no need to click in to the page. + Assign selection to the first of the two text fields that

Re: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Jeff Tapper
I've got it working, just made a few changes to your code: * I got a handle on the focus manager before setting focus * defaultButton as attribute of Form, not panel. Otherwise, all is well. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

RE: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Allen Manning
] On Behalf Of Jeff Tapper Sent: 28 July 2005 17:39 To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com Subject: Re: [flexcoders] Form Control focus and Default Button I've got it working, just made a few changes to your code: * I got a handle on the focus manager before setting focus

RE: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Jeff Tapper
: [flexcoders] Form Control focus and Default Button I've got it working, just made a few changes to your code: * I got a handle on the focus manager before setting focus * defaultButton as attribute of Form, not panel. Otherwise, all is well. ?xml version=1.0 encoding=utf-8

RE: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Allen Manning
Thanks jeff. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: 28 July 2005 18:05 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Form Control focus and Default Button That might require a bit of javaScript to make sure