Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
8 Sep '24 - 15:04
Home
Help
Search
Login
Register
Un4seen Developments Forum
»
Developments
»
BASS
»
Topic:
How can I add a list of tracks, in a listview?
Reply
Print
Pages: [
1
]
Author
Topic: How can I add a list of tracks, in a listview? (Read 442 times)
daniuchiha
Posts: 4
How can I add a list of tracks, in a listview?
«
on:
16 Jan '23 - 21:02 »
Quote
How can I add a list of tracks, in a listview?
in c# windowsforms
Logged
radio42
Posts: 4839
Re: How can I add a list of tracks, in a listview?
«
Reply #1 on:
17 Jan '23 - 07:05 »
Quote
See here:
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.listview?view=windowsdesktop-7.0
Depends on how you want to show them.
But either use ‚listView.Items.AddRange…‘ or add them one by one using the ‚listView.Items.Add‘ method.
But all this is plain C#. Not sure how this relates to BASS?
Logged
daniuchiha
Posts: 4
Re: How can I add a list of tracks, in a listview?
«
Reply #2 on:
1 Feb '23 - 17:32 »
Quote
Taking this example as a reference, what I want is to add a button and load a list of songs in the listview, and then press play with a button, I'm trying but I can't, sorry for my bad English.
Logged
radio42
Posts: 4839
Re: How can I add a list of tracks, in a listview?
«
Reply #3 on:
2 Feb '23 - 08:22 »
Quote
Populating the listbox should be simple - see my reference above.
And to play a track can be seen in the provided C# examples, e.g. take a look to the sample projects 'MyFirstBass', 'Simple' or 'SimpleMix'...
Logged
Reply
Print
Pages: [
1
]
Un4seen Developments Forum
»
Developments
»
BASS
»
Topic:
How can I add a list of tracks, in a listview?