Flex is pretty good, but not perfect. We design for 80% cases and do not always handle the 20% case. We have code size and developer resource restrictions.
The 80% case is that some button should be activated on ENTER pretty much no matter what control has focus. It would seem to me to be a poor UI where ENTER could have more than one meaning. Once there is a defaultButton, focusing any other Button enables ENTER handling on that button. That's the way it seems to work on Windows as well. The current button that will be activated on ENTER is given special highlighting so it will hopefully be apparent to the user what ENTER will do. I would recommend you choose one button that is the default for ENTER. ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Thursday, May 22, 2008 7:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Button down event --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If you set defaultButton on the container it will do it for you What if there are multiple buttons? Surely they can't _all_ be the default button? I thought Flex was supposed to be easy to make accessible. Thanks; Amy