SLTextBox Class

Description

Identifies a text box control.

Availability

This class is supported only on the Open Agent.

Inheritance

SLTextBox is derived from the SLBase class. No classes derive from this class.

Methods

In addition to the methods it inherits from SLBase, and AnyWin, SLTextBox has the following methods:

Properties

In addition to the properties it inherits from SLBase, and AnyWin, SLTextBox has the following properties:

Examples

textBox.SetText("some text")
textBox.SetSelection(0, 4) // selects 4 characters starting from the first one
textBox.TypeKeys("<Ctrl+C>") // copies the selected text to the clipboard
Dim selectedText = Clipboard.GetText() // gets the text from the clipboard