Platoo DynFilter TDynFilterCheckBox

Contents - Methods - Properties

CheckBox boolean-field filtercondition control for TDynFilter


Description
Use two TDynFilterCheckBoxes in pair: one for TRUE values and one for FALSE values (see property CondBoolType )


TDynFilterCheckBox - Methods

Contents - TDynFilterCheckBox - Properties

~TDynFilterCheckBox
Destructor

C++ declaration
__fastcall virtual ~TDynFilterCheckBox(void)

Click
Overrides the inherited method to catch possible filtercondition change

Delphi declaration
procedure Click;
C++ declaration
virtual void __fastcall Click(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)

TDynFilterCheckBox
Constructor

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

UpdateFilter
Send all conditions to DynFilter

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

Description
Called automatically.


TDynFilterCheckBox - Properties

Contents - TDynFilterCheckBox - 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 }

CondBoolType
Affected fieldvalue ( TRUE or FALSE)

Delphi declaration
property CondBoolType: Boolean read FCondBoolType write SetCondBoolType default true;
C++ declaration
__property bool CondBoolType={ read=FCondBoolType, write=SetCondBoolType, default=1 }

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 }