SetText Method (ComboBox)

Class

ComboBox.

Action

Replaces the text in the text field of the combo box.

Syntax

window.SetText (sText)
Variable Description
sText The text to substitute for the contents of the text field. STRING.

Notes

SetText changes the text of the text field of the combo box by giving the field the input focus and then generating the appropriate keystrokes.

Example

Dialog1.ComboText.SetText ("two")