Microsoft SDK for Java

ComboBox.select

Selects a range of text in the edit control of the combo box.

Syntax

public final void select( int start, int end )

Parameters

start

The position of the last character before the beginning of the current text selection in the edit control.

end

The position of the last character before the end of the current text selection in the edit control.

Remarks

If the combo box has a static text control instead of an edit control, calling this method has no effect.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.