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

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


answered 22 Jan '13, 03:28

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
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



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



Asked: 22 Jan '13, 01:29

Seen: 1,849 times

Last updated: 22 Jan '13, 03:28

© Copyright Gerger 2017