-
[SOLVED]setting the tab order on textfields having problems
PHP Code:
pages.getNextHighestDepth(){
this.createTextField("name_txt", this.getNextHighestDepth(), 10, 10, 100, 22);
one_txt.border = true;
one_txt.type = "input";
this.createTextField("email_txt", this.getNextHighestDepth(), 10, 40, 100, 22);
two_txt.border = true;
two_txt.type = "input";
this.createTextField("phone_txt", this.getNextHighestDepth(), 10, 70, 100, 22);
three_txt.border = true;
three_txt.type = "input";
this.createTextField("request_txt", this.getNextHighestDepth(), 10, 100, 100, 22);
four_txt.border = true;
four_txt.type = "input";
one_txt.tabIndex = 2;
two_txt.tabIndex = 3;
three_txt.tabIndex = 4;
four_txt.tabIndex = 1;
im trying to set the tab order for a group of text areas and it doesnt seem to be working with my coding above. the "pages" is the name of the movie clip where the textfields reside. im sure ive done it incorrectly can anyone smooth this out for me?
Last edited by wsmith1979; 01-22-2008 at 11:09 PM.
-
figured it out
pages.getNextHighestDepth()}
this.createTextField("name_txt", this.getNextHighestDepth(), 10, 10, 100, 22);
one_txt.border = true;
one_txt.type = "input";
this.createTextField("email_txt", this.getNextHighestDepth(), 10, 40, 100, 22);
two_txt.border = true;
two_txt.type = "input";
this.createTextField("phone_txt", this.getNextHighestDepth(), 10, 70, 100, 22);
three_txt.border = true;
three_txt.type = "input";
this.createTextField("request_txt", this.getNextHighestDepth(), 10, 100, 100, 22);
four_txt.border = true;
four_txt.type = "input";
one_txt.tabIndex = 1;
two_txt.tabIndex = 2;
three_txt.tabIndex = 3;
four_txt.tabIndex = 4;
that } wasnt supposed to be there
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|