Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TLookupList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class to manage lookup list values.

Declaration

Source position: db.pas line 273

type TLookupList = class(TObject)

public

  constructor Create;

  

Create a new instance of TLookupList.

  destructor Destroy; override;

  

Free a TLookupList instance from memory.

  procedure Add();

  

Add a key, value pair to the list.

  procedure Clear;

  

Remove all key, value pairs from the list.

  function FirstKeyByValue();

  

Find the first key that matches a value.

  function ValueOfKey();

  

Look up value based on a key.

  procedure ValuesToStrings();

  

Convert values to stringlist.

end;

Inheritance

TLookupList

  

Class to manage lookup list values.

|

TObject

Description

TLookupList is a list object used for storing values of lookup operations by lookup fields. There should be no need to create an instance of TLookupList manually, the TField instance will create an instance of TlookupList on demand.

See also

TField.LookupCache

  

Should lookup values be cached.


Documentation generated on: Dec 22 2024