Skip to main content
Table of Contents

TTMSFNCCustomDataGridColumnsEditor.Execute Method

Opens the dialog.

API unit family: TMSFNCDataGridColumnsEditor Declaring type: TTMSFNCCustomDataGridColumnsEditor

Overloads

Overload 1

Opens the dialog.

Pascal
procedure Execute(AProc: TModalResultProc = nil; AModal: Boolean = True); override;

Parameters

Name Description
AProc Callback that receives the modal result when the dialog closes. Receives mrAbort immediately when no Renderer is assigned.
AModal True (default) to show the dialog modally; False to show it as a non-modal window.

Overload 2

Opens the dialog.

FMX.TMSFNCDataGridColumnsEditor.hppPascalC++
function Execute(AModal: Boolean = True): TModalResult; override;
virtual System::Uitypes::TModalResult __fastcall Execute(bool AModal = true);

Remarks

The dialog is built on first use and the list is filled by UpdateList. TTMSFNCCustomDataGrid.ShowColumnsEditor calls this method with AModal = False.

Parameters

Name Description
AModal True (default) to show the dialog modally; False to show it as a non-modal window that stays on top while the user keeps working with the grid.

Returns

The dialog's modal result, or mrAbort without showing anything when no Renderer is assigned.