Skip to main content
Table of Contents

TTMSFNCFilterDialogDisplayNames.AddMap Method

Adds a mapping between a field name and a display name.

API unit family: TMSFNCFilterDialog Declaring type: TTMSFNCFilterDialogDisplayNames

Syntax

FMX.TMSFNCFilterDialog.hppPascalC++
function AddMap(AFieldName: string; ADisplayName: string): TTMSFNCFilterDialogFieldNameMap;
TTMSFNCFilterDialogFieldNameMap* __fastcall AddMap(System::UnicodeString AFieldName, System::UnicodeString ADisplayName);

Parameters

Name Description
AFieldName Dataset field name used as the lookup key.
ADisplayName User-friendly label shown in the filter dialog.

Returns

The newly created mapping item.