Class TFilterList (unit FilterList) |
TStringList
TTable pointer TFilterList sisemiseks kasutamiseks
Constructors |
Functions |
Properties |
Events |
Variables |
Constructors |
Parameter @TTable. f.e.: F.Create(@Table1); nil if no table } { Parameetriks @TTable, mille filtrit hakkab muutma, nil kui ei
Functions |
Adds one or more filter conditions. If condition is already in the } { filter then nothing happens } { Lisab filtrisse tingimuse S kujul 'väli tehe tingimus' ntx 'nr <> 6'} { operaatoreid and, or etc. ei tohi kasutada tingimuse otstes } { ntx 'nr <> 6 and nr <> 7' => lubatud } { ntx ' and nr <> 6 and ' => keelatud
Assigns different TTable to FilterList f.e.: F.AssignTable(@Table1)
ReBuilds the filter. No need if AutoBuild is true } { Buildib terve filtri. Kui AutoBuild = true, siis pole vaja kasutada
Clears the filter } { Teeb filtri tühjaks
Removes the condition specified by S parameter, very useful } { Kustutab filtrist tingimuse S kujul 'väli tehe tingimus' } { ntx 'nr <> 6'
Removes the condition specified by the Index parameter } { Kustutab filtrist index-nda tingimuse. Lõppuser ei kasuta eriti } { vt. DeleteF
Returns the current filter. Build must be executed before if } { AutoBuild is false } { Tagastab terve filtri stringina } { Võib kasutada ntx koos Create(nil)-ga muutes TTable.Filtrit oma } { tahtmise järgi: TTable.Filter:= TFilterList.FilterToStr
Inserts the condition to position specified by Index parameter } { Lisab filtrisse soovitud kohale soovitud tingimuse
TFilterList
Properties |
Events |
Variables |