Class tdatalookupbuffer
Unit
Declaration
type tdatalookupbuffer = class(tcustomlookupbuffer)
Description
This item has no description. Showing description inherited from tcustomlookupbuffer.
Holds several parallel, integer-indexed arrays (of integer, int64, realty — also used for datetimes — and msestring) and lets you search a value in one array and read the corresponding value in another (see the lookup* functions), or search and then walk an array's values (find* and *value* functions). Each array can be addressed by its physical index (its raw storage row number, the *phys functions) or by a logical index (the *log functions and find): the logical index is built automatically, lazily, by sorting the array's values, and is what makes find (as opposed to findphys) fast on a large array. Fill the arrays manually with addrow/addrows; doloadbuffer (called by checkbuffer) is a no-op here, but is overridden by descendants such as tdblookupbuffer to (re)load the arrays automatically from a data source.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- tcustomlookupbuffer
- tdatalookupbuffer
Overview
Methods
| Protected | procedure loaded; override; |
| Protected | procedure setfieldcounttext(const avalue: integer); override; |
| Protected | procedure setfieldcountinteger(const avalue: integer); override; |
| Protected | procedure setfieldcountfloat(const avalue: integer); override; |
| Protected | procedure setfieldcountint64(const avalue: integer); override; |
| Protected | procedure fieldschanged(const sender: tarrayprop; const index: integer); |
| Public | function count: integer; override; |
Properties
| Published | property beforeload; |
| Published | property afterload; |
| Published | property onchange; |
Description
Methods
| Protected | procedure loaded; override; |
|
This item has no description. | |
| Protected | procedure setfieldcounttext(const avalue: integer); override; |
|
This item has no description. | |
| Protected | procedure setfieldcountinteger(const avalue: integer); override; |
|
This item has no description. | |
| Protected | procedure setfieldcountfloat(const avalue: integer); override; |
|
This item has no description. | |
| Protected | procedure setfieldcountint64(const avalue: integer); override; |
|
This item has no description. | |
| Protected | procedure fieldschanged(const sender: tarrayprop; const index: integer); |
|
This item has no description. | |
| Public | function count: integer; override; |
|
This item has no description. | |
Properties
| Published | property beforeload; |
|
This item has no description. | |
| Published | property afterload; |
|
This item has no description. | |
| Published | property onchange; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.