Platoo DynFilterTDfRefreshDataEvent

Contents

TDynFilter data refresh event type

Delphi declaration
TDfRefreshDataEvent=procedure(Sender: TObject; DataSet: TDataSet; var RefreshDone: Boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TDfRefreshDataEvent)(System::TObject *Sender, Db::TDataSet *DataSet, bool & RefreshDone);

Description
Sender is the filter, DataSet is the filtered dataset.

Setting the flag RefreshDone to TRUE disables internal call to DataSet->Refresh, usable when you want to refresh DataSet yourself.

TDynFilterOperation

Contents

TDynFilter field condition comparing operation types

Delphi declaration
TDynFilterOperation=(foContains, foBegins, foExact, foLessThan, foLessEqual, foEqual, foNotEqual, foGreaterEqual, foGreaterThan, foPartialMatch, foNotUsed);
C++ declaration
enum TDynFilterOperation { foContains, foBegins, foExact, foLessThan, foLessEqual, foEqual, foNotEqual, foGreaterEqual, foGreaterThan, foPartialMatch, foNotUsed };

Description
foContains - contains (comparing always as string)

foBegins - begins (always as string)

foPartialMatch - advanced string comparison

The meaning of the other types depends on the CompareOrdValues parameter (if set, ordinal values are compared, otherwise compared as string):

foExact - "=="

foLessThan - "<"

foLessEqual - "<="

foEqual - "=="

foNotEqual - "<>"

foGreaterEqual - ">="

foGreaterThan - ">"

foNotUsed - temporarily off

TGlyphKind

Contents

Button glyph kind for TDynFilterEditBtn

Delphi declaration
TGlyphKind=(gkCustom, gkDropDown, gkEllipsis);
C++ declaration
enum TGlyphKind { gkCustom, gkDropDown, gkEllipsis };

Description
Value Meaning

gkCustom custom

gkDropDown dropdown button (like in combobox)

gkEllipsis ellipsis button