Vcl.StdCtrls.TComboBox.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnChange;

C++

__property OnChange;

Properties

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

Description

Occurs when the user changes the text displayed in the edit region.

Vcl.StdCtrls.TComboBox.OnChange inherits from Vcl.StdCtrls.TCustomCombo.OnChange. All content below this line refers to Vcl.StdCtrls.TCustomCombo.OnChange.

Occurs when the user changes the text displayed in the edit region.

Write an OnChange event handler to take specific action immediately after the user edits the text in the edit region or selects an item from the list. The Text property gives the new value in the edit region.

Note: OnChange only occurs in response to user actions. Changing the Text property programmatically does not trigger an OnChange event.

See Also

Code Examples