Hiya,
Andre kindly showed me how to put my points into a listbox and sort in numerical order decending. I need a way, (Perhaps another list box) of adding a string, (Players Name) next to the points after they are sorted so we can clearly see who's first etc.
Here's how I load a player and output his points to the listbox.
'Load YT
Open "C:\Poker\yt.pok" For Input As #1
Input #1, PlayerName, TournamentGames, TotalGamesPlayed, Points, Member
Close #1
Label15.Caption = PlayerName
Label16.Caption = Points
Label17.Caption = TotalGamesPlayed
Label67.Caption = TournamentGames
List1.AddItem Points
I load the other 14 players the same way. All the points appear in list1 then are sorted by the new bit of code. How can I get 'YT' next to his points etc etc?
Thanks in advance.