[Xerte] RE: tabIndex question
Dave Burnett
d_b_burnett at hotmail.com
Wed Dec 1 11:57:01 GMT 2010
That's what I did:
te1.txt.tabIndex = 1; on the .txt object.
But for all other objects on screen, default no tabIndex property, had to add it explicitly and set to -1 to avoid cycling them.
Also used _level0._focusrect = false; to avoid the yellow rect on everything.
So now the cursor just jumps back and forth between the 2 text entries.
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 1 Dec 2010 10:26:14 +0000
Subject: RE: [Xerte] RE: tabIndex question
Can’t you just use the icon properties to set the tabIndex, and do the other stuff in code? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 30 November 2010 22:12
To: Xerte list
Subject: RE: [Xerte] RE: tabIndex question What a bugger.
I have to set the tabIndex's on the txt objects **and set the text icons themselves to tabIndex -1**
Else it tries to cycle the text icons as well as the .txt object.
grrr.
I guess the accessibility routine will try to cycle everything on the page unless you explicitly tell it to ignore (tabIndex -1).
Working (for now) ;-)
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 30 Nov 2010 21:37:46 +0000
Subject: RE: [Xerte] RE: tabIndex questionlet the engine set the tabIndexes? Or code them in the icon properties? Sometimes there are timing issues with properties getting set in the parser, and those properties being available / set. The parser might be overriding your settings - if you don't set tabIndex in there it will attempt to make and set some. Also, use your own tabINdexes starting from some higher number, like 100. THe lower ones are for the interface, as well as some very very high ones for the controls at he bottom of the interface. Yours should be between them. From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 30 November 2010 21:27
To: Xerte list
Subject: RE: [Xerte] RE: tabIndex questionWill do.
But this doesn't even work when packaged:
I set a couple text icons to inputs:
//setup the answer
te1.txt.embedFonts = true;
//te1.txt.tabIndex = 1;
te1.txt.styleSheet = null;
te1.txt.type = 'input';
te1.txt.selectable = true;
te1.txt.multiline = true;
te1.txt._height=100;
te1.txt.background = 1;
te1.txt.backgroundColor = 0xCFCFCF;
te1.txt.setNewTextFormat(new TextFormat('Tahoma',16));
te2. //same thing
I've tried all sorts of variations and can't get the damn thing to tab between them
Something about using the .txt object?
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 30 Nov 2010 21:20:05 +0000
Subject: RE: [Xerte] RE: tabIndex questionrun ccleaner on your machine. I just let it rip and chose 'fix everything' for the Cleaner tab, windows, and registry tab, fix all. I don't know what that finds, but it fixes that bug in preview From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 30 November 2010 19:11
To: Xerte list
Subject: [Xerte] RE: tabIndex question
Forget it.
It works when packaged, not in authoring mode.
Shades of PostURL.
:-)
Dave
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: tabIndex question
Date: Tue, 30 Nov 2010 13:13:31 -0500
Any tricks?
Looks straightforward enough.
I have a page with 2 interactions each with a text entry.
I have added tabIndex to each, 1 and 2.
Does not tab.
Dave
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101201/4b917cf7/attachment-0001.html
More information about the Xerte
mailing list