that was really newbie:p Great it is fixed

----- Original Message ----- From: "Neil Gibbons" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Tuesday, November 08, 2005 10:01 AM
Subject: RE: [Flashcoders] Newbie question: SHIFT+TAB



Lol.
The problem seemed to be with my use of the FocusManager.

I was creating an instance of it and passing into "drawing"
functions that were creating the TextInput1 fields:

objFocusManager = new FocusManager();

Then use the nextTabIndex to set fields tabIndex:

txtUsername.tabIndex = objApp.objFocusManager.nextTabIndex;
txtPassword.tabIndex = objApp.objFocusManager.nextTabIndex;

When I traced this out, I noticed that it always returned 1?

Anyway, I removed the FocusManger and simply added 1,2,3,etc and
evreything appears to be fine now.


Neil ________________________________

[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 07 November 2005 18:23
To: [email protected]
Subject: Re: [Flashcoders] Newbie question: SHIFT+TAB

Did you create a new focus manager you could share ?  :)

Grant

----- Original Message -----
From: Scott Hyndman [EMAIL PROTECTED]
To: Flashcoders mailing list [email protected]
Sent: 11/7/05 11:50 AM
Subject: RE: [Flashcoders] Newbie question: SHIFT+TAB

What I did on one project was to use __proto__ and override the
FocusManager's class at runtime. It worked quite well.

Scott

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Muzak
Sent: Mon 11/7/2005 9:14 AM
To: Flashcoders mailing list
Cc: Subject: Re: [Flashcoders] Newbie question: SHIFT+TAB
And what exactly is TextInput1?
A custom class I suppose. Which class does it extend?

For tabbing to work propertly with other v2 components, you don't have

much choice other than extending UIComponent (or any of the
v2 core classes).

I've said it before, the FocusManager is not one of the best v2
classes out there (and I'm being nice here;-) ).

regards,
Muzak

----- Original Message -----
From: "Neil Gibbons" To: "Flashcoders mailing list" Sent: Monday, November 07, 2005 2:56 PM
Subject: RE: [Flashcoders] Newbie question: SHIFT+TAB



Yes.
I've used FocusManager.nextTabIndex() to set all tabIndexes, but there

the following on screen, (in preferred tab order):

1. A search box at the top
2. Username field
3. Password field
4. A "Login" button
5. A "Register" button

TAB & SHIFT TAB works between the buttons, but only TAB( tabbing forward), works on the fields.

All text fields are type TextInput1. If I use the standard TextInput, tabbing is fine.
:(

Neil


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Scanned by MailDefender - managed email security from intY -
www.maildefender.net
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


__________ NOD32 1.1278 (20051107) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to