Value Property

Measurement Studio User Interface

Value Property

Syntax

CWNumEdit.Value

Data Type

Variant

Purpose

Specifies the current value of the numeric edit control.

Remarks

The value might be different than what is displayed in the numeric edit control. Use the Text property to retrieve the exact string shown in the numeric edit control.

Example

'Set the numedit value to 5
CWNumEdit1.Value = 5.0

'Retrieve the value of the numedit control
x = CWNumEdit1.Value

See Also

Text