Hi Rad,

I used this in the past (thanks to Benny and Shawn) and worked just fine.

 Code:
$ComboBox.MaxDropDownItems = Ubound($array) + 2


I set it to the Ubound of an array of items I want in the ComboBox + 2 because the array start at 0 and I want a blank line at the top. If I set it hardcoded to 20 and there are just 10 items to add in the array then all I get is 12 lines. It does not add the extra blank lines.


Edited by Mart (2010-02-04 09:37 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.