GUIListControl: How can I access/get the Items? (1 Viewer)

Nova

Portal Pro
November 8, 2005
77
0
Hi Guys, :)

Does anybody know, how I can get the added Items of a GUIListControl (as strings or as GUIListItems)?

Thanks for your help! :)

Your Nova
 

Bavarian

Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi nova,

    you can get it by GUIListItem, like

    for (int i = 0; i < listView.Count; i++) GUIListItem aItem = listView;


    By the way, do you know javascript in C#?

    Bavarian :D
     

    Nova

    Portal Pro
    November 8, 2005
    77
    0
    Wow, really so easy. :)
    I tried it with GetControlById(int id) ..... etc. :)

    Thanks for your help Bavarian!

    No, I don't know JavaScript in C#, but maybe I can help you... (see you at ICQ).

    Your Nova
     

    Users who are viewing this thread

    Similar threads

    Thanks CyberSimian, will give it a try!
    Thanks CyberSimian, will give it a try!
    I have recently installed mediaportal 1 and all is working fine, however I would like the startup page to be the TV guide. I guess...
    Replies
    2
    Views
    1K
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
    This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
    Replies
    9
    Views
    722
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is "ACTION", the "cmdproperty" is the actual window id, but it makes sense that it is. Try this for yourself. First backup your working profile for the remote, then in the "Mapping" panel make a change to...
    It is present, but not with that name. It is called Scheduler, viz: Interesting. I had never noticed that when the "command" is...
    I would like to be able to go directly to the Scheduled recordings window without having to first go to the home menu. I saw this...
    Replies
    1
    Views
    1K
    Brief update... Hauppauge support responded quickly, stating that the "driver for all of our product confirm to the BDA format". Not sure what that means, but to test that, I downloaded a copy of Capture4Me, and indeed, it switches LNBs without any issues with minimal configuration (just set DiSEqC to 1.x A/B/C/D and select the...
    Brief update... Hauppauge support responded quickly, stating that the "driver for all of our product confirm to the BDA format"...
    Due to ongoing issues with my TBS5520SE USB tuner, I've invested in a Hauppauge WinTV-NOVA-S2 tuner. I have a multi-LNB setup...
    Replies
    18
    Views
    3K
    MP1 MP2 Picture-in-picture DE
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many tries, and it’s not clear what I am doing that makes it work on those occasions when it does. Cannot find guidance on the site. Thanks, N. Again, if anyone knows how to do this, would be much...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Replies
    0
    Views
    1K
    Top Bottom