Thanks. Creating classes indeed provides more flexibility.
I am working on a GUI for system simulation where the block represent component models somehow connected together. The component simulation code needs to be run in a sequence. There will be forks and joins, so the system has to decide which leg of the fork to run first and then wait with continuing at joins until both incoming input paths have been calculated.
I think it is then best to derive from TCustomLiveState to have functions to control execution of code behing the blocks and also to allow multi-threading of parallel path calculation execution.
Would you agree with this approach?
regards, thanks, Wilfried