ImmediateUpdates Property

Measurement Studio User Interface

ImmediateUpdates Property

Syntax

Object.ImmediateUpdates

Data Type

Boolean

Applies To

CWKnob

CWSlide

Purpose

Specifies if the control draws new data as soon as it is available or if the form refreshes the control when it draws other controls.

Remarks

Set this property to True to guarantee that the control is redrawn every time a change is made. Set this property to False to skip redrawing for other events. When this property is set to False, the container, such as a Visual Basic form, controls the update rate. You also can set this property to False to update several pointers without the control redrawing for each pointer update.

Example

CWSlide1.ImmediateUpdates = False

'Update two pointers
CWSlide1.Pointers(1) = Rnd
CWSlide1.Pointers(2) = Rnd

'The control will redraw to reflect the new pointers' positions 
'when the system isn't busy
'Or, you can force the control to redraw
CWSlide1.ImmediateUpdates = True