Suggestion: ListBoxGetTopItem(int gui, int object)

Started by monkey0506, Tue 19/10/2004 13:07:34

Previous topic - Next topic

monkey0506

Basically it would be a lot easier to scroll a list box if you could just set the top item (ListBoxSetTopItem(int gui, int object, int topitem)) to the current top item plus a value (e.g. ListBoxSetTopItem(SAVE, 0, ListBoxGetTopItem(SAVE, 0)+4)). I found a way of doing this just storing the top item in the list box to an integer, but it would still be easier to be able to test the top item in the listbox. Yeah, I know, if I already found a way I really shouldn't be complaining because the suggestion list is already a mile long, but still... Ok... I've searched the forums and haven't seen this suggested yet, so I feel safe to post it.

jetlag

But the listbox automaticly makes scroll buttons.

Pumaman

Sounds reasonable enough to me, if anyone else would find it useful.

SMF spam blocked by CleanTalk