Engine.DisplayEditNumericFormatDialogEx

Syntax

Engine.DisplayEditNumericFormatDialogEx( dlgTitle, numericFormat, validFormat, dlgOptions = 0, sampleNumber = 1.5)

Return Value

Boolean

Returns True if you click OK in the dialog box. Returns False if you click Cancel .

Purpose

Note This method is obsolete. Use the PropertyObject.DisplayEditNumericFormatDialog method instead.

Remarks

Launches a dialog box in which you can edit a numeric format string used to display numbers.

Parameters

dlgTitle As String

[In] Specifies the title of the dialog box. Pass an empty string to use the default title for the dialog box.

numericFormat As String

[In/Out] The numeric format string to edit. Enable EditNumFormat_AllowDefaultFormat if you want to pass an empty string.

validFormat As Boolean

[Out] Returns True if the returned format is valid, otherwise returns False .

dlgOptions As Long

[In] Specifies any combination of the EditNumericFormatOptions constants.

This parameter has a default value of 0 .

sampleNumber As Double

[In] Specifies a number to format initially in the dialog box.

This parameter has a default value of 1.5 .

See Also

EditNumericFormatOptions

PropertyObject.DisplayEditNumericFormatDialog

PropertyObject.GetFormattedValue

PropertyObject.NumericFormat