RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupComboBox.KeyValueChanged Method

Updates the control when the value of the protected KeyValue property changes.

Pascal
procedure KeyValueChanged; override;
C++
virtual __fastcall KeyValueChanged();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!