The Main Interface can have code assigned it to operate when a specific event occurs. To edit click the interface background and hit F3. Instruction Code may be entered in the the Event Code box or Double-Clicking the Event Code text box will open the code in the Code Editor.
<load> Runs when the interface loads or when !runLoad is issued.
<analog> Runs when analog data arrives.
<digital> Runs when digital data arrives.
<message> Runs when message string data arrives.
<click> Runs when the interface background is clicked.
<dblClick> Runs when the interface background is double clicked. Note - the <click> event code will also run.
<drag> Runs when the mouse is dragged in the interface.
<release> Runs when the mouse is released.
|