API:Data.DB.TDefaultLookupList.Clear

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDefaultLookupList

Delphi

procedure Clear; override;

C++

virtual void __fastcall Clear();

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.

See Also