Data.DB.TDefaultLookupList.Clear
Delphi
procedure Clear; override;
C++
virtual void __fastcall Clear();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TDefaultLookupList |
Description
Empties the lookup list and frees the associated memory.
Data.DB.TDefaultLookupList.Clear inherits from Data.DB.TLookupList.Clear. All content below this line refers to Data.DB.TLookupList.Clear.
Empties the lookup list and frees the associated memory.
Call Clear to empty the current values in the lookup list when building a lookup list programmatically. Lookup fields call Clear automatically before regenerating the lookup cache if the list represents the values in a lookup dataset.