| Class TTableFilter (unit MKTabl16) |
tComponent
| Constructors |
| Functions |
procedure ApplyFilter;
procedure CancelFilter;
function DoFilter(RecNum : longint) : integer;
procedure SetFilter(incoming : boolean);| Properties |
property Filter : Boolean
property Table : tTable| Events |
event OnFilter : tFilterEvent| Variables |
fFilter : boolean;
FilterHandle : hDBIFilter;
fOnFilter : tFilterEvent;
FSameTable : tTable;
FTable : tTable;| Constructors |
| Functions |
procedure ApplyFilter;--------------------------------------------------------------------------- } Procedure to tell tTableFilter to apply the filter condition given in the user defined method FilterRecord.
procedure CancelFilter;procedure } { --------------------------------------------------------------------------- } Procedure to tell tTableFilter to remove the filter condition given in the user defined method FilterRecord.
function DoFilter(RecNum : longint) : integer;a PRIVATE SECRET table.
--------------------------------------------------------------------------- } { ------- tTableFilter component code starts here ------------------------- } { --------------------------------------------------------------------------- } This function acts like an interface to the BDE call-back function (MKFILTER) that was defined at the top of this module.
procedure SetFilter(incoming : boolean);---------------------------------------------------------------------------
| Properties |
property Filter : Boolean
property Table : tTable| Events |
event OnFilter : tFilterEvent| Variables |
fFilter : boolean;
FilterHandle : hDBIFilter;Holder for FILTER event.
fOnFilter : tFilterEvent;are we currently filtering data.
FSameTable : tTable;Table the user specified.
FTable : tTable;hold the filter handle.