Table of Contents

TTMSFNCLocalizationEditor.Execute Method

Shows the editor and invokes the given notification callback once the editor closes.

API unit family: TMSFNCLocalizationEditor Declaring type: TTMSFNCLocalizationEditor

Overloads

Overload 1

Shows the editor and invokes the given notification callback once the editor closes.

procedure Execute(AProc: TNotifyEvent = nil);

Remarks

Calling this method again while the editor is open brings the existing window to the front instead of opening a second one. At design time the editor is shown modally, so this method returns only after it closes. At run time it is shown non-modally and this method returns immediately, so read the outcome from the callback rather than from the statement after the call.

Overload 2

Shows the editor and invokes the given callback with the dialog's modal result once the editor closes.

procedure Execute(AProc: TModalResultProc = nil);

Remarks

Calling this method again while the editor is open brings the existing window to the front instead of opening a second one. The editor is never shown modally here, so this method always returns immediately and the outcome must be read from the callback.