Normally I'd try and script around these situations, but in this case I can't help but notice that what I need are functions that are already available for another GUI control - namely, inventory windows.
ScrollDown
ScrollUp
ItemsPerRow (which would effectively show the number of items currently *visible* in the listbox)
Ok, so the first two can be coded around (with some difficulties in some cases, but it's always doable), but the third one would be very, very useful.
ScrollDown, ScrollUp and RowCount for the ListBox would be easy enough to do, would anyone else find this useful?
Definately. But then I'd also like a possibility to customize the look of the arrows that automatically appear if you want to scroll, so that maybe we could add a scroll-tracker (like the one in windows scrollbars) to it or disable those arrows or change the arrows appearance etc.
for me, yes. The scrolling and the customization that dkh spoke would help a lot.
Arr, yes, yes. I'd totally forgotten about that, on account of how we can also use buttons and sliders - dkh's point is a good one, a damn fine one in fact. Sharpest point I've seen in a long while.
I think the ScrollUp(); ScrollDown(); for listboxes is an excellent idea. Working with listboxes gives me a headache....
Tracker'd:
http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=554
http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=555
Edit:
AGS v2.72 Beta 1:
* Added ListBox.ScrollDown, ScrollUp, RowCount, HideBorder and HideScrollArrows. Added "Hide scroll arrows" setting to listboxes in GUI editor.