Table of Contents

TTMSFNCFilterDialog Class

Interactive filter dialog for creating and editing filter expressions.

API unit family: TMSFNCFilterDialog Inherits from: TTMSFNCCustomFilterDialog

Syntax

TTMSFNCFilterDialog = class(TTMSFNCCustomFilterDialog)

Properties

Name Description
Appearance Gets or sets visual appearance settings for the dialog rows and editor surfaces. (inherited from TTMSFNCCustomFilterDialog)
DisplayFilterText Gets or sets the user-friendly filter expression shown in the edit box. (inherited from TTMSFNCCustomFilterDialog)
DisplayNames Gets or sets mappings that replace field names with display names in the UI. (inherited from TTMSFNCCustomFilterDialog)
FilterBuilder Gets or sets the filter builder used to store groups, expressions, columns, and filter text. (inherited from TTMSFNCCustomFilterDialog)
FilterText Gets or sets the serialized filter expression. (inherited from TTMSFNCCustomFilterDialog)
Options Gets or sets visible buttons and localized labels for the dialog. (inherited from TTMSFNCCustomFilterDialog)

Methods

Name Description
DoScaleControlsForCurrentDPI Scales the dialog controls for the current DPI. (inherited from TTMSFNCCustomFilterDialog)
Execute Shows the dialog. (inherited from TTMSFNCCustomFilterDialog)
ValidateFilterArray Validates an array of filter rows against the dialog's filter rules. (inherited from TTMSFNCCustomFilterDialog)
ValidateFilterRow Validates a single filter row against the dialog's filter rules. (inherited from TTMSFNCCustomFilterDialog)

Events

Name Description
OnApplyButtonClicked Occurs when the Apply button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnCancelButtonClicked Occurs when the Cancel button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnClearButtonClicked Occurs when the Clear button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnGetFilterBuilder Occurs when the dialog requests the filter builder to use. (inherited from TTMSFNCCustomFilterDialog)
OnGetFilterBuilderDataColumns Occurs when the dialog requests the available filter columns. (inherited from TTMSFNCCustomFilterDialog)
OnGetFormatSettings Occurs when the dialog requests format settings for parsing and formatting values. (inherited from TTMSFNCCustomFilterDialog)
OnOKButtonClicked Occurs when the OK button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnShowCustomEditor Occurs when the dialog needs application code to show a custom editor. (inherited from TTMSFNCCustomFilterDialog)
OnShowExpressionEditor Occurs before the dialog shows an editor for an expression row. (inherited from TTMSFNCCustomFilterDialog)
OnShowGroupEditor Occurs before the dialog shows an editor for a group row. (inherited from TTMSFNCCustomFilterDialog)