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 for the information. I completely new to this topic but your reply is exactly what I needed. Appreciate it!
    Thanks for the information. I completely new to this topic but your reply is exactly what I needed. Appreciate it!
    After initially having some success with MP2 (ver. 2.4.1).....I've been trying to get TVMosaic to work. Now, I seem to have...
    Replies
    2
    Views
    952
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video signal") on the TV I suspect the AVR has something to do with that. If I manually put the TV only into standby when TV is playing but paused then on wakeup I could not immediately take it out of pause and...
    I tried setting the windows screensaver to power off the display on my MP1 HTPC but in fact it only blanks the screen ("no video...
    Hi all, I´m using MP 1.30 at the moment and have a problem which also exists on my system on previous versions. So I don´t think...
    Replies
    3
    Views
    647
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Replies
    0
    Views
    751
    Thank you! I guess I was overthinking it.
    Thank you! I guess I was overthinking it.
    This is apparently such a low level question that it's not even documented that I can find - I apologize in advance for this: I...
    Replies
    2
    Views
    358
    done: Loading...
    done: Loading...
    Hi. I have a problem with a WebEPG grabber I'm trying to do. The problem is that the site returns a json-file and I cant get my...
    Replies
    25
    Views
    3K
    Top Bottom