Occurs when the Text property of the object is changed.
Object.OnChange()
The OnChange event syntax has the following parts:
Name |
Type |
Description |
Object |
ATextBox |
ATextBox control |
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.
The following example displays the text entered in the form caption.
tbDesc.OnChange()
{
Form.Caption="Text="+tbDesc.Text
}
|