SetText

Enters a value in a control and replaces existing text.

To enter text at the current cursor position, use the TypeText statement.

Syntax

SetText("Text")

Arguments

Argument Description
Text Text to enter. Null values must be converted to empty strings to clear the text in the control.

Supported objects

ComboBox, EditBox, SpinBox

Example

Window("CRMLogin").EditBox("textBoxPassword").SetText("sales")