Table of Contents

TTMSFNCChartEditorDialog.Execute Method

Displays the chart editor dialog. Calls AProc with the modal result when the user closes it.

API unit family: TMSFNCChartEditor Declaring type: TTMSFNCChartEditorDialog Inherited from: TTMSFNCChartEditor

Overloads

Overload 1

Displays the chart editor dialog. Calls AProc with the modal result when the user closes it.

procedure Execute(AProc: TModalResultProc = nil);

Parameters

Name Description
AProc Optional callback invoked with the modal result on close. Pass nil to ignore the result.

Overload 2

Displays the chart editor dialog and returns the modal result when the user closes it.

function Execute: TModalResult;

Returns

mrOk when the user confirms changes, mrCancel otherwise.