Table of Contents

TTMSFNCStylesEditor.Execute Method

Opens the styles editor dialog asynchronously and calls the completion procedure with the modal result.

API unit family: TMSFNCStylesEditor Declaring type: TTMSFNCStylesEditor

Overloads

Overload 1

Opens the styles editor dialog asynchronously and calls the completion procedure with the modal result.

procedure Execute(AProc: TModalResultProc = nil);

Parameters

Name Description
AProc Optional callback invoked when the dialog closes.

Overload 2

Opens the styles editor dialog and returns the modal result (mrOk or mrCancel).

function Execute: TModalResult;

Returns

mrOk if the user confirmed the style selection; mrCancel if the dialog was dismissed.