Vcl.StdCtrls.TEdit.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange: TNotifyEvent read FOnChange write FOnChange;

C++

__property OnChange;

Properties

Type Visibility Source Unit Parent
event published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TEdit

Description

Occurs when the text for the edit control may have changed.

Vcl.StdCtrls.TEdit.OnChange inherits from Vcl.StdCtrls.TCustomEdit.OnChange. All content below this line refers to Vcl.StdCtrls.TCustomEdit.OnChange.

Occurs when the text for the edit control may have changed.

Write an OnChange event handler to take specific action whenever the text for the edit control may have changed. Use the Modified property to see if a change actually occurred. The Text property of the edit control will already be updated to reflect any changes. This event provides the first opportunity to respond to modifications that the user types into the edit control.

See Also

Code Examples