AccelInc Property

Measurement Studio User Interface

AccelInc Property

Syntax

CWNumEdit.AccelInc

Data Type

Variant

Purpose

Determines the amount the value increments or decrements according to how long the user holds down the increment or decrement button.

Remarks

Use the AccelTime property to specify how many seconds the user must press down on the increment or decrement button before the CWNumEdit control uses the AccelInc value to increment or decrement the value.

Example

'Make the CWNumEdit control increment by 1 until the user
'Has held down the increment button for 5 seconds -
'Then increment by 10 at a time
CWNumEdit1.AccelInc = 1
CWNumEdit1.AccelInc = 10
CWNumEdit1.AccelTime = 5

See Also

IncDecValue

AccelTime