IonicWind Software

Aurora Compiler => Coding Help - Aurora 101 => Topic started by: Haim on December 06, 2007, 02:49:30 AM

Title: Combobox question
Post by: Haim on December 06, 2007, 02:49:30 AM
Hi,
Can anyone tell me how to set the number of items that will be displayed in the dropped down list of a ComboBox, when it's being clicked upon.
It seems that the efault is 4. iI would like at least 8 items showing.

Haim
Title: Re: Combobox question
Post by: LarryMc on December 06, 2007, 05:46:34 AM
When you create the combobox the "h" paramater determines the max height of the dropdown window of choices.
   Create(int l,int t,int w,int h,int style,int nID,string title,CWindow *parent);
Remember, if the height entered when the combobox is created is greater than the height required to show all the choices the dropdown will be shortened so that there is no trailing white space.


Larry
Title: Re: Combobox question
Post by: Haim on December 06, 2007, 09:16:50 PM
Thanks Larry.
i'll try that out now.

Haim