Welcome, Guest. Please login or register.
Did you miss your activation email?
31 Jul 2010, 11:38:33 UTC
Forum home
+  flexdeveloper.eu Forum
|-+  Flex and ActionScript 3.0
| |-+  Flex 3 Framework (Moderators: JMWhittaker, Jan K, thewarpedcoder, James)
| | |-+  Tab Between TextInput
« previous next »
Pages: [1] Print
Author Topic: Tab Between TextInput (Read 522 times)
raul_mesa
Newbie FD
*
Posts: 9


« on: 09 Mar 2010, 15:51:05 UTC »

Greets from colombia

im a new user in flex program

i hope that the question well be understandable

i need to tab between textinput boxes, but, in the order that i want to...
for example, if im focus in forth Textinput, how with the tab button could go to the first text input

thenk for all kind of help that all of u can provide me and sorry about bad english :p
Logged
wallace
Newbie FD
*
Posts: 19


« Reply #1 on: 09 Mar 2010, 16:04:59 UTC »

You can use the tabIndex() property of a TextInput field to set the order of tabbing.
Code:
<mx:TextInput id="amountTextInput" tabIndex="4"/>
<mx:TextInput id="refundTextInput" tabIndex="1"/>
<mx:TextInput id="priceTextInput" tabIndex="2"/>
<mx:TextInput id="costsTextInput" tabIndex="3"/>
This will go from refund >> price >> costs >> amount.

You can play around with this. The focusOut() and focusIn() events might help you too.
Logged
raul_mesa
Newbie FD
*
Posts: 9


« Reply #2 on: 09 Mar 2010, 16:09:30 UTC »

Thenks man, but i can do the same with a gridview?
Logged
wallace
Newbie FD
*
Posts: 19


« Reply #3 on: 09 Mar 2010, 16:36:07 UTC »

Thenks man, but i can do the same with a gridview?

I think that, as long as the component is an interactive component, then tab order can be set in this manner.
Logged
Pages: [1] Print
« previous next »
Share this on: Twitter Twitter Del.icio.us del.icio.us Digg Digg
Jump to:

©2006-2010 Flexdeveloper.eu/Jodie O'Rourke. All rights reserved.
Adobe®, Adobe® Flash™, Adobe® AIR™ and Adobe® Flex™ are registered trademarks of Adobe Systems Incorporated in the United States and other countries. All rights reserved.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC