how to fill a listview with data? (1 Viewer)

wertzui

Retired Team Member
  • Premium Supporter
  • July 2, 2005
    320
    8
    hi,
    i want to start my own plugin.
    for that i need to read all the files inside of a directory and add them to a listview.
    but since i cant find any documentetion, i have no clue on how to do this.

    can anyone please tell me hwo to do it?
     

    pitie

    Portal Member
    April 4, 2006
    19
    0
    in your skin add a listview

    in your dev add in declaration :
    [SkinControlAttribute(ID_OF_YOUR_LISTVIEW)] protected GUIListControl mylistview=null;



    and then you can use object mylistview


    mylistview.Clear();


    etc...
     

    wertzui

    Retired Team Member
  • Premium Supporter
  • July 2, 2005
    320
    8
    but in wich function do i have to put the code, so it will automatically get executed when the plugin is displayed?
     

    Users who are viewing this thread

    Top Bottom