Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Monsieur OUXX on Mon 12/11/2007 09:13:57

Title: [SOLVED] Is it necessary to process mouse clicks for control 'listbox'?
Post by: Monsieur OUXX on Mon 12/11/2007 09:13:57
hi all,

this is a newbie question, and you are entitled to answer me "RTFM".

I have put a ListBox on a GUI, and when the number of items in the listbox is too big, a scrollbar appears (or did I check some option to have the scrollbar always visible? I can't remember). Anyway, when I click on the scrolling buttons ("arrow up" and "arrow down"), nothing happens.

Could it be that I have to process the click event?
Title: Re: Is it necessary to process mouse clicks for control 'listbox'?
Post by: Khris on Mon 12/11/2007 09:22:57
I ran a quick test.
There's an option to use the default scroll arrows. If that's checked, the default arrows appear as soon as the list of items is to long to fit.

Clicking on the arrows worked without adding any code anywhere.

Is the GUI clickable? Is the ListBox clickable?
Title: Re: Is it necessary to process mouse clicks for control 'listbox'?
Post by: Dualnames on Mon 12/11/2007 09:55:56
I always create an auto-remove line code...
Never checked it. But I remember that arrows keys scroll the GUI by default..
Title: Re: Is it necessary to process mouse clicks for control 'listbox'?
Post by: Monsieur OUXX on Tue 13/11/2007 09:24:34
That was it : the GUI was not clickable.
Thank you!


SOLVED