Is there any way to select an item in a listbox by code?
I have this playlist for an mp3 player that I've made, but when a song is playing it doesn't select the item in the listbox. If I for example doubleclick on any item in the list, it plays in the mediaplayer component, but when it changes to the next song I want it to select that item, and not stay at the one I clicked on to begin with.
Is this possible, if so, post any examples/snippets that would help. I've been looking for this for a long time
I have this playlist for an mp3 player that I've made, but when a song is playing it doesn't select the item in the listbox. If I for example doubleclick on any item in the list, it plays in the mediaplayer component, but when it changes to the next song I want it to select that item, and not stay at the one I clicked on to begin with.
Is this possible, if so, post any examples/snippets that would help. I've been looking for this for a long time