×

Discussion Board

Results 1 to 10 of 10

Thread: Tab navigation

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    26

    Tab navigation

    Is there a way to find out what's the element focused when using the tab mode navigation ? The elements could be pictures with an id and an href to an url address.
    One shortage I noticed is the impossibility of using key event when the cursor mode is set.

  2. #2
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    60

    Re: Tab navigation

    Quote Originally Posted by patmarc View Post
    Is there a way to find out what's the element focused when using the tab mode navigation ? The elements could be pictures with an id and an href to an url address.
    One shortage I noticed is the impossibility of using key event when the cursor mode is set.
    There is no way to query focus but you can use focus/blur events to track focus changes.

    There are some other issues regarding focus in tabbed mode that you will probably run into. First of all focus traversal doesn't always behave the way you'd expect it to based on the spatial layout of elements. Sometimes the focus goes away entirely only to return later after you try to move the focus a bit more. And finally, when commanding focus to some element you can get all kinds of strageness. E.g. if you focus a text field or area you often get crashes when you try to type into the text control after the commanded focus.

    Those issues are good to be aware of so you don't spend hours or days trying to fix something that you can't fix in your own code.

    Peppe

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Tab navigation

    Surely focus management would need some improvements (tabIndex?) to allow building more user-friendly widgets, or we'll finish implementing multiple custom focus management modes..

    Pit

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    26

    Re: Tab navigation

    I totally agree with Jappi, tab index would be very useful. Presently it's quite tricky to keep track of the tab position. For complex navigation the only option seems to be only in the cursor mode.

    Pat

  5. #5
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    60

    Re: Tab navigation

    Quote Originally Posted by patmarc View Post
    I totally agree with Jappi, tab index would be very useful. Presently it's quite tricky to keep track of the tab position. For complex navigation the only option seems to be only in the cursor mode.
    The upcoming Nokia WRTKit user interface toolkit for S60 WRT Widgets will help a lot in this area.

    Peppe

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    26

    Re: Tab navigation

    Hey Peppe I have the beta version of the WRTKit. Could you develop a bit more in which way the UI toolkit could help me with tab navigation. I didn't take yet the time to study the library and use it, will do that soon . The examples coming with the WRTKit are quite nice. In the RSS reader example the active menu item loses its focus when scrolling up. Is that a known issue related to the WRT or is it only a bug in the code ?
    Thanks for your help
    Pat

  7. #7
    Registered User
    Join Date
    Sep 2009
    Posts
    16

    Re: Tab navigation

    Quote Originally Posted by peppe@peppe.net View Post
    The upcoming Nokia WRTKit user interface toolkit for S60 WRT Widgets will help a lot in this area.

    Peppe
    Where is the documentation on the UI toolkit?

Similar Threads

  1. Tab Navigation
    By Kavit Patel in forum Symbian
    Replies: 14
    Last Post: 2008-03-10, 13:03
  2. CONE 44 panic when deleting tab group
    By guderian1 in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-05-22, 11:13
  3. Navigation in Dialog with Tab key
    By pgivy in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-02-01, 09:27
  4. Navigation Panes for Series 60
    By rguia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-02-24, 15:19
  5. 7650 SetDefaultViewL() doesn't set right navigation tab
    By 4sure in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-09-25, 09:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×