RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDefaultLookupList.Clear Method

Empties the lookup list and frees the associated memory.

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

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. 

 

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