Skip to content

Changing Values

Michael Wolf edited this page Dec 8, 2017 · 5 revisions

To set values into a range control, or any other input, you can use SetSource() :

// Next line not needed from within NotifyChanged()
TimeStamp time = Document->GetCurrentTime();

// Note: notifyflags may need to be 0 if calling from
// within NotifyChanged(), to avoid looping
uint32 notifyflags = IDNC_DoNotifyChanged;
float64 value = 0.0;
InLow->SetSource(AutoNumber(value), time, notifyflags);
Clone this wiki locally