Sign in Join
FPDoc Onlineexperiment

TDBLookupComboBox.DoAutoCompleteSelect procedure

Member of TDBLookupComboBoxprotectedIn unit DBCtrls

Ensures the internal TDBLookup instance is updated when the control is used in "unbound" mode.

Declaration

pascal
procedure DoAutoCompleteSelect; override

Description

DoAutoCompleteSelect is an overridden method in TDBLookComboBox which re-implements the virtual method from the ancestor class. It does not call the inherited method.

DoAutoCompleteSelect ensures that the dataset for the ListSource is re-positioned when the value in ItemIndex has been changed. This includes calling the UpdateData method for the internal TDBLookup instance when the control is used in "unbound" mode (without a DataSource or DataField).

DoAutoCompleteSelect is called when the KeyUp method handles an alphanumeric key entered while the auto-complete feature has been enabled in AutoCompleteText.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.