Vcl.DBCtrls.TDBLookupControl.KeyValueChanged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure KeyValueChanged; virtual;

C++

virtual void __fastcall KeyValueChanged();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

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.

See Also