listbox = arraylist ?

Discussion in 'Questions (Windows Mobile)' started by sloopa, May 7, 2007.

  1. sloopa

    sloopa Member Licensed User

    I try to fill a listbox with filesearch.

    My solution isn't pretty (First fill arraylist than listbox)

    Code:

    filesearch(arraylist3, textbox1.Text, "*.mp3")
    for i=0 to arraylist3.Count-1
    listbox1.Add(arraylist3.Item(i))
    next i



    Is there a better one?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    That is the best solution.
    I think it is pretty nice ;)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice