DiscreteInterval Property

Measurement Studio User Interface

DiscreteInterval Property

Syntax

CWNumEdit.DiscreteInterval

Data Type

Variant

Purpose

Specifies the interval to use in a discrete CWNumEdit control.

Remarks

This property is used only when CWNumEdit.Discrete is set to True.

Example

'Setup the CWNumEdit control to take only integer data.
CWNumEdit1.Discrete = True
CWNumEdit1.DiscreteInterval = 1
CWNumEdit1.DiscreteBase = 1

'Setup the CWNumEdit control to round all data to the nearest .5
CWNumEdit1.Discrete = True
CWNumEdit1.DiscreteInterval = .5
CWNumEdit1.DiscreteBase = 0

See Also

Discrete