ControlDraw symbols can be given a formula to relate outputs with to inputs.
The values of outputs are sent through the connections to the inputs to which they connect.
In addition the object itself has a value - this is then used to animate the object.
The Symbol Dynamics form provides a drag and drop interface for defining the objects script and testing it.
When a page is in run mode or static run mode then each symbol executes the logic, clicking a Symbol calls up the Dynamics Popup Menu.
If the diagram contains steps and transitions then AutoSFC functions are executed so the the SFC can Run with no code.
If a page has an associated matrix you can use the matrix in simulations to store and replay the states of those objects on the diagram that form columns in the matrix.
This provides unlimited simulation capabilities.
Symbol code is programmed in VBScript. Copy to clipboard in the Run form can be used to get a copy of this VBS programme into the clipboard.
It is possible to introduce script errors, see Simulation Error Handling for a guide to removing the errors
You can create Global Variables that apply anywhere by declaring them in the Globals Tab of the Symbol Scripting form
ControlDraw Objects can display their dynamic state in a run mode diagram. A drop down list in the Symbol Type Tab on the Dynamics form allows selection of
Height to value
Width to Value
Highlight if True
Display State Name
The selection depends on the Symbol Dynamic Type
When you give a symbol Dynamic States using it's Child Page states then these are now ordered according to their layout, working Top to bottom and then Left to Right.
See also What Happens in Run Mode
See also Calculation Symbols