Skip to main content
Table of Contents

TTMSFNCHTMLEditor.Execute Method

Opens the HTML editing dialog asynchronously. The optional AProc callback is invoked with the modal result when the dialog closes.

API unit family: TMSFNCHTMLEditor Declaring type: TTMSFNCHTMLEditor

Overloads

Overload 1

Opens the HTML editing dialog asynchronously. The optional AProc callback is invoked with the modal result when the dialog closes.

Pascal
procedure Execute(AProc: TModalResultProc = nil);

Parameters

Name Description
AProc Optional callback invoked with the TModalResult when the user closes the dialog. Pass nil to ignore the result.

Overload 2

Opens the HTML editing dialog modally and returns mrOk when the user accepts the edited HTML or mrCancel when the user cancels.

FMX.TMSFNCHTMLEditor.hppPascalC++
function Execute: TModalResult;
System::Uitypes::TModalResult __fastcall Execute();