  | |  | Focus Manager & Tabbing... | Focus Manager & Tabbing... 2004-02-26 - By Doug Coning
Back Hi everyone,
I am trying to use the Focus Manager to tab between v2 components and am having difficulties. I have looked at the Help files and the archives and found some information on this, but still can't seem to solve the following:
I have 3 components on my _root level: 2 TextArea & 1 ComboBox.
My first problem is I can't set the focus to my first TextArea Component (comment_ta) so that I can automatically start typing within that box without having to select it. I have tried various methods, but can't get it to set focus.
My Second problem is when I try tabbing from a TextArea into a ComboBox, the tab sequence freezes within the ComboBox and I can't tab out of it.
Here's my code:
focusManager.enabled = true; comment_ta.tabIndex = 1; comboBox_cb.tabIndex = 2; comment2_ta.tabIndex = 3; focusManager.setFocus(comment_ta);
If somone could PLEASE help, I'd GREATLY appreciate it!!!
Thanks,
Doug Coning
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105319 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |