Click to See Complete Forum and Search --> : Tab index problem !!!


funcyaung
04-18-2003, 02:37 AM
:confused:

Hello all,

I have problem.

I can't control the textboxs' tab index.

I entered the data in the first textbox and then press the tab key to go to second. But the get the focus at the fourth textbox. And then I press the tab key, I get the focus at the second. The tab cannot go as I want .

How can I solve the problem?

If you have a way, please reply me.

Good luck to everyone.

:D

learninghtml
04-28-2003, 07:00 PM
The TABINDEX property controls the tabbing sequence. The default is 0 but -1 in NN6. A value of 0 means that the elements (form elements usually) receive focus in source code order. Setting it to 1 means that element will be first in the tabbing order. All other elements not set will continue to tab in source code order. Setting two elements to 1 will again tab in source code order, followed by those that are not set again in source code order.

I would suggest giving them unique TABINDEX values in the order you want the tabbing sequence to progress. If you set a value of -1 to an element then that element will be by-passed when tabbing and users will still be able to click on those elements to make changes if they wish.

Good luck!

funcyaung
04-28-2003, 10:33 PM
Thanks you Mr.

Now, I can solve the problem with your help.
Thanks you for your help.

Good luck to you.
:)