KevMo
KevMo

Reputation: 5610

Tab Between Components

I'm playing around with the physics login form from Doug Mccune's blog

I'm trying to make it so that after I finish typing the username I can hit the tab key to go to the password field, and again to go to the login button. I'm a bit of a n00b with flex, so I assumed setting the tabIndex properties would solve that, but it doesn't.

Any ideas?

EDIT: After a little further investigation, the problem appears to lie with PhysicsContainer. If the physics container is removed, the tabbing works without issue. Unfortunately that also defeats the point of the whole project

Upvotes: 0

Views: 163

Answers (1)

quoo
quoo

Reputation: 6307

You may also need to set the tabEnabled property of the loginBtn as well.

If that doesn't fix it, I'd try looking at the FocusManager:

http://livedocs.adobe.com/flex/2/langref/mx/managers/FocusManager.html

Upvotes: 2

Related Questions