IDE order of execution

Discussion created by peter_festesen on Aug 27, 2018
Latest reply on Aug 28, 2018 by peter_festesen

Intuitively, I would expect the code in a form to get executed in this order


1) Form Init (e.g. Run Sub Eventinitialize)

2) Execute Main Code


But with this simple example :


I see that the Declaration section is executed first, then 'TheView_EventInitialize'


Is there a way to change that ?