Posts: 1,388
Joined: Aug 2009
Reputation:
17
Hey mcborzu,
Thanks for the info. I had a play however still couldn't crack it. Here's what i'm after...
I have a horizontal fixedlist of icons. What i'm trying to achieve is to have a different vertical fixedlist for each icon, that drops down when a ondown/onup command is run.
The problems i'm having are...
1) getting a ondown/onup command to work for each separate icon. At the moment, there's 1 ondown/onup code that is on the horizontal fixedlist, and therefore applies to all icons. How can i get multiple ondown/onup commands for each icon in the list?
2) using the false button trick, i can get 1 vertical fixedlist to appear when the ondown/onup command is run, however when that list is then active, it's own ondown/onup doesn't work.
Thanks
Posts: 1,388
Joined: Aug 2009
Reputation:
17
Cheers Hitcher, i see. That's the multiple verticle lists sorted.
I'll try it with the false button trick to make the verticle lists hidden until a ondown is used.
Thanks guys
Posts: 17,664
Joined: Aug 2007
Reputation:
608
Hitcher
Team-Kodi Member
Posts: 17,664
Just changed it to cover being hidden until focused.
Posts: 1,388
Joined: Aug 2009
Reputation:
17
2010-08-23, 19:32
(This post was last modified: 2010-08-23, 19:37 by liquidskin76.)
Cheers. I'd already had the code to make each verticle list only appear on it's corresponding horizontal icon, however i had to use 'container.hasfocus' instead of 'control.hasfocus'. If i use control.hasfocus the verticle menu doesn't appear at all.
The last thing i can't figure out is how to make the verticle list hidden until you get to it's corresponding horizontal icon, then press down. So it appears to drop down below the horizontal icon.
Tried mcborzu's false button trick, however when the verticle list drops down, i can't scroll down/up.
Thanks
Posts: 1,388
Joined: Aug 2009
Reputation:
17
It's ok, i think i've sorted it!
<visible allowhiddenfocus="true">Control.HasFocus(....)</visible> seems to be doing the trick.
Posts: 1,388
Joined: Aug 2009
Reputation:
17
Actually, no i haven't!
Using <visible allowhiddenfocus="true">Control.HasFocus(3002)</visible> in one list (id="3002"), and <visible allowhiddenfocus="true">Control.HasFocus(3009)</visible> in another list (id="3009"), i get 3002's menu for both.
I'm guessing i need a + something to associate them to their own horizontal icon. Will have a play however if you any have idea, let me know!!
Thanks guys
Posts: 472
Joined: Sep 2008
Reputation:
21
<visible>Container().HasFocus()</visible> Container ID of the horizontal list, and then the id of the static content used in it in your <content> list
Posts: 1,388
Joined: Aug 2009
Reputation:
17
Hey Arcanthur,
I've used that before to associate a vertical list to it's horizontal icon, however the vertical list is always visible. What additional visibilty code do i need to make the list hidden, and appear only on a ondown command?
I thought <visible allowhiddenfocus="true">Control.HasFocus(....)</visible> would do the trick, however the first vertical list with this entry appears for all horizontal icons.
Am i making sense with my descriptions of what i'm trying to do?
Thanks