GUIListControl: How can I access/get the Items? (2 Viewers)

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 for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
    Replies
    2
    Views
    460
    MP1 MP2 TVGuide Users DE
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it is set up for use with MediaPortal..? I havebeen using Zap2XML / GraceNote but that just died (for me alone seemingly) and I am out of listings. :( Would appreciate any help - Thanks.
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
    Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
    Replies
    0
    Views
    2K
    MP1 MP2 Comskip Ad removal DE
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question: Does anybody have pointers as to how I/we can setup or install something to automatically remove ads during playback on MP2? Thanks in advance Henry
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question...
    Hi all Was just looking at Ad Removal - Comskip and note: - MP1 only - 4 The Record 1.3.3 seems to no longer exist Question...
    Replies
    0
    Views
    863
    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
    2K
    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
    3K
    Top Bottom