Page 1 of 1

sub menu in tv_listrequest

Posted: 26 Oct 2009, 02:25
by Svengali
From Elodie: script cmd: tv_listrequest can open sub menu ( with '/' in the name )
Anyone have luck implementing this? It sort or works for me, but not like I think it would. Shouldn't it work that an item on the main list would offer two or more sub menu items (with "/") to choose from?

Maybe I just haven't solved the exact syntax. Help please?

Sven

Another request for help - sub menu in tv_listrequest

Posted: 29 Oct 2009, 16:30
by Svengali
I asked before about the syntax in the new ListRequest command for displaying submenus... Maybe a picture can demonstrate what I'm asking about.

The lists in the highlighted area are what I would expect to see in a two-catagory-list with five submenu options, (first catagory with two options and the second catagory with three).

What I get now is four catagories, two of which display as blank, and those are the ones with the submenu options. This offers the user seven options, mixing together the catagories and the submenu options - not what I really intended.)

Am I just using the ListRequest command wrong? Or is there currently some other syntax to have the list functionality as shown in the highlighted area?

Code: Select all

tv_ListRequest "Apples|/Macs|/Lisas|Oranges|/IBMpcs|/Dells|/HPs"
Sven

Re: Another request for help - sub menu in tv_listrequest

Posted: 29 Oct 2009, 16:37
by Hervé
use this syntax:
tv_ListRequest "Apples/Macs|Apples/Lisas|Oranges/IBMpcs|Oranges/Dells|Oranges/HPs"

Re: sub menu in tv_listrequest

Posted: 29 Oct 2009, 16:41
by Svengali
Thanks Hervé! I see now that this allows sub-submenu nesting as well - cool.

Sven