Platoo DynFilter TDynFilterRadioGroup

Contents - Methods - Properties

RadioGroup filtercondition control for TDynFilter


Description
Filtercondition is an active item in Items or, if a value with the same index exists, a value from Values.


TDynFilterRadioGroup - Methods

Contents - TDynFilterRadioGroup - Properties

~TDynFilterRadioGroup
Destructor

C++ declaration
__fastcall virtual ~TDynFilterRadioGroup(void)

Click
Overridden 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)

TDynFilterRadioGroup
Constructor

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

UpdateFilter
Send all conditions to DynFilter

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

Description
Called automatically.


TDynFilterRadioGroup - Properties

Contents - TDynFilterRadioGroup - 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 foEqual;
C++ declaration
__property Dynfilter::TDynFilterOperation FilterOperation={ read=FFilterOperation, write=SetFilterOperation, default=5 }

Values
Values list

Delphi declaration
property Values: TStrings read FValues write SetValues;
C++ declaration
__property Classes::TStrings *Values={ read=FValues, write=SetValues, nodefault }

Description
Values used instead o f Items as filtercondition, match with itemindex (if t he value is empty, t he item is used).