Suggestion - ListBox.AddItemAt

Started by Rui 'Trovatore' Pires, Mon 08/08/2005 07:45:29

Previous topic - Next topic

Rui 'Trovatore' Pires

Again, this is not something I need RIGHT AWAY. However, finding that this did not exist has, in the past, stopped me and forced me to do some redesigning which didn't really work as I would have liked.

How feasible would it be to allow us to optionally add items to a listbox in a certain index number, instead of automatically appending it to the end of the list? One use that keeps popping up in my mind for this is for making a save/load GUI that behaves like the default one, but which allows more than 20 gameslots - you know, we overwrite a saved game and that one gets moved to the top. I know dreamwaver (I hope I got the name right)'s Black Cauldron Remake did just that, and with the source code to boot, but I found it a bit too daunting for me, and I thought that were this my suggestion possible, it would make it a lot easier anyway.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Pumaman

#1
Sounds reasonable to me -- it follows that if you can RemoveItem then you should be able to InsertItem.

Edit by strazer:

Tracker'd: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=534

SMF spam blocked by CleanTalk