Hi, I have a xyLayout panel with several textFields. Can I use tab key to change textFields in certain order and how it implements? Thanks.

asked 22 Jan '13, 01:29

Emil's gravatar image

Emil
451213
accept rate: 0%

edited 22 Jan '13, 02:44


Hi Emil,

You can use the tabIndex attribute to achieve your request. tabIndex is an integer value indicating the tabbing order of a component relative to other components in the panel.

In the example below, the tab navigation order will be: t1 -> t3 -> t2

<panel> <xyLayout> <cell> <textField name="t1" tabIndex="1"/> </cell> <cell y="30"> <textField name="t2" tabIndex="3"/> </cell> <cell y="60"> <textField name="t3" tabIndex="2"/> </cell> </xyLayout> </panel>

Best Regards, Ibrahim

link

answered 22 Jan '13, 03:28

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15

Asked: 22 Jan '13, 01:29

Seen: 981 times

Last updated: 22 Jan '13, 03:28


© Copyright Gerger 2017