Results 1 to 6 of 6

Thread: [TAB Ordering] - How it works (Svn Version) ?

  1. #1

    Default [TAB Ordering] - How it works (Svn Version) ?

    Hey,

    in the newest svn version, i've noticed that the tab ordering has been removed, how can i switch between my line-edit's and pushbuttons by using tabkey now, like i did before ?

    before we have to set_tab_controller(true) and on each component put the tab_order indexing like :

    Edit1->set_tab_order(1);
    Edit2->set_tab_order(2);
    Button1->set_tab_order(3);
    Button2->set_tab_order(4);

    Now how does it works, as we can't do it that way anymore ?

    I Noticed by default, "tabbing" does nohing.

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    from UPGRADE.TXT:

    - GUI: set_tab_order_controller and set_tab_order are gone, the order is now the component tree.

  3. #3

    Default

    So now, how does it works ?

  4. #4

    Default

    The tab focus will switch between the components in the order the components were created, so you don't need to specify the order separately - it all works automatically. You might need to change the order the components are created in. Also, if you created the components with the gui editor then the order is the order they appear in the xml file, and you might need to adjust that manually to get a good ordering. The new gui editor will hopefully do this automatically.

  5. #5

    Default

    Actually, it seems tab is currently broken, will fix it soonish.

  6. #6

    Default

    It should be working now again.

Similar Threads

  1. Debug version FPS is better than Release version
    By babyvegas in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 08-13-2008, 09:44 PM
  2. Seems we released a new version - 0.8.1
    By sphair in forum Official ClanLib SDK Forums
    Replies: 9
    Last Post: 05-09-2008, 11:31 PM
  3. Demo version
    By in forum Funeral Quest
    Replies: 1
    Last Post: 04-30-2005, 11:52 PM
  4. version 1.0
    By Mugombie in forum Funeral Quest
    Replies: 3
    Last Post: 08-19-2004, 10:39 AM
  5. Version 0.95 being tested
    By Seth in forum Other RTsoft Games
    Replies: 5
    Last Post: 10-14-2002, 02:57 PM

Bookmarks

Bookmarks

Posting Permissions

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