EditSelection

>>-aComboBox~EditSelection(--startNdx--,--endNdx--)------------><


The EditSelection method selects the specified text range in the edit control of the associated combo box.

Arguments:

The arguments are:

startNdx

The one-based index of the first character in the edit control to be selected. If you omit this argument or specify 0, the selection is removed.

endNdx

The one-based index of the last character in the edit control to be selected. If you omit this argument or specify 0, the selection is removed.

Return value:

0

The selection was successful.

1

An error occurred.