Table of Contents

TTMSFNCDataSetFilterDialog Class

Filter dialog that builds filter columns from a dataset and applies the resulting filter to that dataset.

API unit family: TMSFNCFilterDialog Inherits from: TTMSFNCCustomDataSetFilterDialog

Syntax

TTMSFNCDataSetFilterDialog = class(TTMSFNCCustomDataSetFilterDialog)

Properties

Name Description
Appearance Gets or sets visual appearance settings for the dialog rows and editor surfaces. (inherited from TTMSFNCCustomFilterDialog)
DataSet Gets or sets the dataset whose fields and filter text are edited by the dialog. (inherited from TTMSFNCCustomDataSetFilterDialog)
DisplayNames Gets or sets mappings that replace field names with display names in the UI. (inherited from TTMSFNCCustomFilterDialog)
FilterText Gets or sets the serialized dataset 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
OnAfterAddColumn Occurs after a dataset field has been added as a filter column. (inherited from TTMSFNCCustomDataSetFilterDialog)
OnApplyButtonClicked Occurs when the Apply button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnBeforeAddColumn Occurs before a dataset field is added as a filter column. (inherited from TTMSFNCCustomDataSetFilterDialog)
OnCancelButtonClicked Occurs when the Cancel button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnClearButtonClicked Occurs when the Clear button is clicked. (inherited from TTMSFNCCustomFilterDialog)
OnGetExpressionValues Occurs when the dialog requests possible values for an expression column. (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)

Used by