I think the game plan for editing in Spark List is to simply get the display
object tree to make all of the focusable widgets visible to the FocusManager.
However, I would expect trouble if you are using virtual renderers, and tabbing
to renderers scrolled off-screen may not work either.
The principle is pretty straightforward. Every display object needs tabEnabled
= true and tabChildren = true. Containers that are not getting focus have
hasFocusableChildren = true. Objects that receive focus need focusEnabled=true
and tabFocusEnabled=true and implement IFocusManagerComponent. TabIndex should
be optional.
Watch out for the outer component and its skin. The skins and their
sub-components often don’t have these flags set up for editable renderers.
Post a simple example if you’re still stuck and I’ll take a look.
On 6/16/10 11:24 AM, Battershall, Jeff jeff.battersh...@dowjones.com wrote:
Hi,
Here’s something that shouldn’t be this hard:
I have a spark list that has an itemrenderer with multiple items that I want to
tab between. For the life of me, I haven’t been able to get it work. I’ve
tried tabEnabled, tabFocusEnabled, hasFocusableChildren, setting tabIndex on
the individual components inside the ItemRenderer, etc., so far, no dice.
There’s been a lot written about this, but so far I haven’t chanced upon the
definitive solution. Can someone put me on the fast track to resolution?
Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
(609) 520-5637 (p)
(484) 477-9900 (c)
--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui