OnChange Event (ATextBox)

Occurs when the Text property of the object is changed.

Syntax

Object.OnChange()

The OnChange event syntax has the following parts:

 

Name

Type

Description

Object

ATextBox

ATextBox control

Comments

The OnChange event is called only if the user changed the text of the control. Changing the Text property will not generate an OnChange event.

Example

The following example displays the text entered in the form caption.

tbDesc.OnChange()

{

Form.Caption="Text="+tbDesc.Text

}

Applies to

ATextBox

See Also

 

Text