Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

DisplayEditNumericFormatDialogEx Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

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

Return Value

Boolean

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

Purpose

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

Remarks

Refer to PropertyObject.NumericFormat for more information about numeric format strings.

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] Pass any combination of the EditNumericFormatOptions constants.

This parameter has a default value of 0.

sampleNumber As Double

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

This parameter has a default value of 1.5.


See Also

EditNumericFormatOptions

PropertyObject.GetFormattedValue

PropertyObject.NumericFormat


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit