I have 2 conflicting problems...
I have a lot of input text boxes that need to be focused and tabbable.
This following code sets focus correctly, but the tabbing doesn't work...
Selection.setFocus('iLoggin.inputLoggin');
iLoggin.inputLoggin.tabIndex=1;
iPassword.inputPassword.tabIndex=2;
iLoggin2.inputLoggin.tabIndex=3;
iPassword2.inputPassword.tabIndex=4;
iUser2.inputLoggin.tabIndex=5;
if I take out the setFocus, it still does not tab. If you press tab when you
select any of the input text boxes the focus does not change. If I take out one
of the lines (don't include it in the A.S.) eg...//
iLoggin2.inputLoggin.tabIndex=3;
When you now select this input textbox and press the tab key it tabs round all
the dynamically attached buttons. Therefore it must be registering that I have
created a tabIndex....
Does anyone know why this isn't working??????
To make matters worse, I tried creating a simplified tabbing experiment fla.
For the tabbing and focusing I used the folowing code...
nos1.inputMe.tabIndex=1;
nos2.inputMe.tabIndex=2;
nos3.inputMe.tabIndex=3;
nos4.inputMe.tabIndex=4;
nos5.inputMe.tabIndex=5;
Selection.setFocus('nos2.inputMe');
This also contained dynamically created buttons, to distract the tabbing. ON
this experiment, I found that the tabbing round the input text worked fine, but
no matter where I put the line...Selection.setFocus('nos2.inputMe'); I couldn't
set the focus....
aaaaaaaaaaahhhhhhhh... I can't see where I have gone wrong... Why oin one can
I set focus but not tab, and the exact opposite in the other, even though my
coding is the same..... Any help would be appreicated. Thanks J.