![]() |
|
|||||||
| Skin Development GUI and Web skins/themes, graphics development and suggestions. No End-User Support Requests! Only skinners and graphic artists. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | |
|
Junior Member
Join Date: May 2004
Posts: 24
![]() |
here it is reposted in proper forum
i'm creating a skin for xbmc and i'm having a issue. i have my control buttons layout above the listcontrol and thumbnailpanel. unlike all other skins, when the user pushes down, i want the focus to goto the listcontrol or thumbnailpanel. unfortunatly, i can't get this to work for both cases. if i set code sample <ondown>10</ondown> it'll only goto the list control. if i set code sample <ondown>11</ondown> it'll only goto the thumbnailpanel. in the default skins code sample <onright>10</onright> will move focus to either the listcontrol or thumbnailpanel depending on which is visible. how do it get it to work for ondown? Quote:
|
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2004
Posts: 24
![]() |
i figured it out so i'll post here to help other skinners.
i dug a little through the code and apparently when it passes the focus from one control to another, if the control it is trying to pass focus to is not enabled then it just passes the focus command on depending on what it is set for the not enabled control. so in my case, the listview with <id>10</id> should have it's focus passed onto the thumbpanel with <id>11</id>. to do this you must set the any of the <ondown>, <onright>, <onup>, <onleft> focus commands for the listview to 11 so it passes those commands onto the thumbpanel. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Focus on 'Yes' | tartag | Plugin/Script (Python) Help and Support | 4 | 2006-02-20 05:25 |
| Unable to get off thumbpanel | BritneysPAIRS | XBMC for Xbox Specific Support | 10 | 2005-04-14 12:10 |
| Listcontrol thumbnails. | pin87a | Skin Development | 4 | 2005-02-02 17:46 |
| Listcontrol limits? | dodgetball | Plugin/Script (Python) Development | 4 | 2004-10-12 02:38 |
| Default Listcontrol | chuck | XBMC for Xbox Specific Support | 1 | 2004-04-16 17:01 |