This method is identical to XSIDialog.Combo except that it is possible to specify an initial selection from the combo box.
oLong = XSIDialog.ComboEx( [Title], ComboItems, Default ); |
Long index (zero based) of the item selected from the ComboItems argument. If the user cancels the dialog then -1 is returned.
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. |