Start Event
The Start event is executed first when an advanced control is calculated. Set the control properties in the start event, once for each control. It is a good place to set initialization variables, or open files for reading or writing. In this example, the object is a slider control, and its appearance and initial settings are being programmed in the Start event.
Jscript
function SliderEvent_Start(Inputs,Outputs) {
Slider.MinRange(-10);
Slider.MaxRange(10);
Slider.TickFrequency(1);
};
VBscript
Sub SliderEvent_Start()
Slider.MinRange=-10
Slider.MaxRange=10
Slider.TickFrequency=1
End Sub
Was this helpful?