Platoo DynFilter TDynFilterEdit

Contents - Methods - Properties

Filtercondition editor for TDynFilter


Description
Text used as filtervalue.

Additionally has a timer to wait for user input before updating filter.


TDynFilterEdit - Methods

Contents - TDynFilterEdit - Properties

~TDynFilterEdit
Destructor

C++ declaration
__fastcall virtual ~TDynFilterEdit(void)

Change
Overrid d en to catch possible filtercondition change

Delphi declaration
procedure Change;
C++ declaration
virtual void __fastcall Change(void)

Create
Delphi declaration
constructor Create(AOwner: TComponent);
Destroy
Delphi declaration
destructor Destroy;
Notification
Overrides the inherited method to respond to opRemove notifications on the linked DynFilter.

Delphi declaration
procedure Notification(AComponent: TComponent; Operation: TOperation);
C++ declaration
virtual void __fastcall Notification(Classes::TComponent *AComponent, Classes::TOperation Operation)

TDynFilterEdit
Constructor

C++ declaration
__fastcall virtual TDynFilterEdit(Classes::TComponent *AOwner)

UpdateFilter
Send all conditions to DynFilter

Delphi declaration
procedure UpdateFilter;
C++ declaration
void __fastcall UpdateFilter(void)

Description
Called automatically.

WMTimer
WM_TIMER messages handler

Delphi declaration
procedure WMTimer(var Message: TMessage);
C++ declaration
MESSAGE void __fastcall WMTimer(Messages::TMessage & Message)


TDynFilterEdit - Properties

Contents - TDynFilterEdit - Methods

CanSaveFilter
Save filterconditions, not used

Delphi declaration
property CanSaveFilter: Boolean read FCanSaveFilter write FCanSaveFilter default false;
C++ declaration
__property bool CanSaveFilter={ read=FCanSaveFilter, write=FCanSaveFilter, default=0 }

CaseInsensitive
Case-insensitive filtercondition

Delphi declaration
property CaseInsensitive: Boolean read FCaseInsensitive write SetCaseInsensitive default true;
C++ declaration
__property bool CaseInsensitive={ read=FCaseInsensitive, write=SetCaseInsensitive, default=1 }

CompareEmptyValue
Compare-to-empty value filtercondition

Delphi declaration
property CompareEmptyValue: Boolean read FCompareEmptyValue write SetCompareEmptyValue default false;
C++ declaration
__property bool CompareEmptyValue={ read=FCompareEmptyValue, write=SetCompareEmptyValue, default=0 }

CompareOrdValues
Compare ordinal value filtercondition

Delphi declaration
property CompareOrdValues: Boolean read FCompareOrdValues write SetCompareOrdValues default false;
C++ declaration
__property bool CompareOrdValues={ read=FCompareOrdValues, write=SetCompareOrdValues, default=0 }

DynFilter
Linked DynFilter

Delphi declaration
property DynFilter: TDynFilter read FDynFilter write SetDynFilter;
C++ declaration
__property Dynfilter::TDynFilter *DynFilter={ read=FDynFilter, write=SetDynFilter, nodefault }

FieldName
Filtered field name

Delphi declaration
property FieldName: string read GetFieldName write SetFieldName;
C++ declaration
__property System::AnsiString FieldName={ read=GetFieldName, write=SetFieldName, nodefault }

FilterOperation
Filter comparing operation type

Delphi declaration
property FilterOperation: TDynFilterOperation read FFilterOperation write SetFilterOperation default foContains;
C++ declaration
__property Dynfilter::TDynFilterOperation FilterOperation={ read=FFilterOperation, write=SetFilterOperation, default=0 }

Text
Overrid d en : Text will not b e stored (start filtering with empty filterstring)

Delphi declaration
property Text stored false;
C++ declaration
__property Text={ stored=false }

UpdateDelay
Delay to wait for user input (msec), before filter update is forced.

Delphi declaration
property UpdateDelay: Word read FUpdateDelay write FUpdateDelay default 0;
C++ declaration
__property Word UpdateDelay={ read=FUpdateDelay, write=FUpdateDelay, default=0 }

Description
0 - delay not used

500 - normal value