Vcl.DBCtrls.TCustomDBLookupComboBox.KeyValueChanged
Delphi
procedure KeyValueChanged; override;
C++
virtual void __fastcall KeyValueChanged();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TCustomDBLookupComboBox |
Description
Updates the control when the value of the protected KeyValue property changes.
Vcl.DBCtrls.TCustomDBLookupComboBox.KeyValueChanged inherits from Vcl.DBCtrls.TDBLookupControl.KeyValueChanged. All content below this line refers to Vcl.DBCtrls.TDBLookupControl.KeyValueChanged.
Updates the control when the value of the protected KeyValue property changes.
KeyValueChanged is called automatically when the value of the KeyValue property changes. It allows the lookup control to make any necessary adjustments to display the new value in the list.
As implemented in TDBLookupControl, KeyValueChanged does nothing. Descendant classes override this method to update the display properties of the control to reflect the new value.