1) there's a way to SORT the elements in lstaudio (ClsCheckList) ?
what's the syntax?
2) when i have the HEADER (Artists), how can i sort the elements (ex. by Artist/Songs) ??
So i have:
>> Artist 1
>> song1
>> song2
>> Artist 2
>> songA
>> songB
3) when i set HEADER (lstAudio.AddHeader...) there is a way to obtain the INITIAL LETTER of header elements with ClsScrollPanel ? (so only initial of artists and not of songs)
thanks
what's the syntax?
B4X:
Dim lstAudio As ClsCheckList
....
lstAudio.SortItems(????,0,lstAudio.NumberOfItems,True) '????
2) when i have the HEADER (Artists), how can i sort the elements (ex. by Artist/Songs) ??
B4X:
If Artist <> DernArtist Then
lstAudio.AddHeader(Artist)
DernArtist = Artist
End If
lstAudio.AddItemNoChkbx(fm.Get("ID" & ix), fm.Get("Title" & ix), fm.Get("Location" & ix), Null)
....
So i have:
>> Artist 1
>> song1
>> song2
>> Artist 2
>> songA
>> songB
3) when i set HEADER (lstAudio.AddHeader...) there is a way to obtain the INITIAL LETTER of header elements with ClsScrollPanel ? (so only initial of artists and not of songs)
thanks