Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Rui 'Trovatore' Pires on Sat 07/01/2006 14:34:01

Title: Suggestions: Listbox functions (IMPLEMENTED)
Post by: Rui 'Trovatore' Pires on Sat 07/01/2006 14:34:01
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.
Title: Re: Suggestions - functions for Listboxes
Post by: Pumaman on Sat 07/01/2006 17:58:11
ScrollDown, ScrollUp and RowCount for the ListBox would be easy enough to do, would anyone else find this useful?
Title: Re: Suggestions - functions for Listboxes
Post by: DoorKnobHandle on Sat 07/01/2006 18:06:42
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.
Title: Re: Suggestions - functions for Listboxes
Post by: Fabiano on Sat 07/01/2006 18:54:10
for me, yes. The scrolling and the customization that dkh spoke would help a lot.
Title: Re: Suggestions - functions for Listboxes
Post by: Rui 'Trovatore' Pires on Sat 07/01/2006 19:14:57
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.
Title: Re: Suggestions - functions for Listboxes
Post by: Akumayo on Mon 09/01/2006 23:41:48
I think the ScrollUp(); ScrollDown(); for listboxes is an excellent idea.  Working with listboxes gives me a headache....
Title: Re: Suggestions: Listbox functions
Post by: strazer on Wed 11/01/2006 23:06:41
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.