Sorry if there is a similar thread, but I didn\'t find any. \r\n \r\nI need some help with listboxes. Basically the program consist of 3 listboxes places side by side. In those I want to store data about music: Name, Artist and Genre, so they are written on the same horizontal line. Then I want 3 buttons to be able to sort the listboxes alphabetically. This seems pretty easy in theory thanks to the .sorted property, but if you think about it only one listbox will be sorted and the others wont "follow". I mean if I for example sort the Artist-listbox, the name and genre wont be on the same line as the artist. So what I want to do is make 3 listboxes which are going to "follow" each others order. If I sort one listbox alphabetically the others will get the same new order, so they still will be written on the same horizontal line. Sorry if I explain it bad. \r\n \r\nI know the "real" way to do it is not to use the .sorted property and instead make my own sorting function form scratch. But this solution is very time-consuming and I rather take the shortcut. \r\n \r\nThank you in advance. \r\n//Ferion
Sorry if there is a similar thread, but I didn't find any.
I need some help with listboxes. Basically the program consist of 3 listboxes places side by side. In those I want to store data about music: Name, Artist and Genre, so they are written on the same horizontal line. Then I want 3 buttons to be able to sort the listboxes alphabetically. This seems pretty easy in theory thanks to the .sorted property, but if you think about it only one listbox will be sorted and the others wont "follow". I mean if I for example sort the Artist-listbox, the name and genre wont be on the same line as the artist. So what I want to do is make 3 listboxes which are going to "follow" each others order. If I sort one listbox alphabetically the others will get the same new order, so they still will be written on the same horizontal line. Sorry if I explain it bad.
I know the "real" way to do it is not to use the .sorted property and instead make my own sorting function form scratch. But this solution is very time-consuming and I rather take the shortcut.
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe