There is some mention of implementing IFocusManager in the
doc. In the Creating Components book when describing how to implement AS
components:
And an example in the doc on creating item
editors:
But it probably deserves a section on its own. We should be
able to add something for the next release.
Stephen From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dordea cosmin Sent: Saturday, September 23, 2006 6:55 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: tabbing in flex
Thanks
for your reply. I wasn't aware that you actually have to write in the code
"implement IFocusManager" to have focus enabled. I took a look in the UI component source code and in the Button component source code and saw what I had to do. Now back to my original question, is this specified anywhere in the official documentation? .When reading the UIComponent documentation , focus options looked like activated by default. The effort to have focus is minimal, but i didn't see anywhere that you have to "implement the FocusManager interface" to have them activated. Thanks. ----- Original Message ---- From: Dustin Mercer <dustin.mercer@ To: [EMAIL PROTECTED] Sent: Friday, September 22, 2006 2:43:53 AM Subject: RE: [flexcoders] Re: tabbing in flex Yeah, this one was a bit annoying… Here is what I had to do to get it working. I had to set the tabChilden property to true in your custom component, override the setFocus method, and implement the IFocusManagerCompon ent interface. This is only if your component is a pure AS component. I found the mxml components tabbed fine. One side note: There still seems to be some really weird tabbing issues when tabbing out of the component. Sometimes when you tab out of the component, it tabs back to the beginning of the form. Just some weird things, I didn’t have a chance to trace it down though. I’ll see if I can get some time to fix that. I included the source to a time picker component that I built If you need something to reference (it’s not perfect, but it should illustrate the solution).
From:
[EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf Of khelonium
I have the
same problem and don't have a solution yet. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] Re: tabbing in flex Stephen Gilson
- RE: [flexcoders] Re: tabbing in flex Stephen Gilson