Vig,

I think if you set the height of a ComboBox to be really tall, then the dropdown length can be quite long, for example, to display all the drive letters from A: to Z:

code:
Break On

$Form = CreateObject("Kixtart.Form")

$Form.FontSize = 10
$Form.Size = 300,300

$ComboBox = $Form.ComboBox
$ComboBox.Size = 100,400
$ComboBox.Center

For $Drive = 65 to 90
$ComboBox.AddItem(CHR($Drive)+":")
Next

$Form.Center
$Form.Show

While $Form.Visible
$=Execute($Form.DoEvents)
Loop

Exit 1

Just as an FYI, the ComboBox and ListBox respond to a (currently) write-only property called LIST. One can use it to quickly populate the list portion of an object, example:

code:
$ComboBox.List = "C:","D:","E:","F:"



[ 26. August 2002, 14:17: Message edited by: Shawn ]