## XSIDialog.ComboEx

### Description

This method is identical to XSIDialog.Combo except that it is possible to specify an initial selection from the combo box.

### Scripting Syntax

    oLong = XSIDialog.ComboEx( [Title], ComboItems, Default );

### Return Value

Long index (zero based) of the item selected from the ComboItems argument. If the user cancels the dialog then -1 is returned.

### Parameters

Parameter | Type | Description
--- | --- | ---
Title | String | Title of the dialog
ComboItems | Variant | Array of Strings.
Default | Integer | Index of the ComboItems array that should be selected by default.

### See Also

XSIDialog.Combo