Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: monkey0506 on Tue 19/10/2004 13:07:34

Title: Suggestion: ListBoxGetTopItem(int gui, int object)
Post by: monkey0506 on Tue 19/10/2004 13:07:34
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.
Title: Re: Suggestion: ListBoxGetTopItem(int gui, int object)
Post by: on Tue 19/10/2004 18:58:16
But the listbox automaticly makes scroll buttons.
Title: Re: Suggestion: ListBoxGetTopItem(int gui, int object)
Post by: Pumaman on Wed 03/11/2004 20:13:29
Sounds reasonable enough to me, if anyone else would find it useful.