On Sunday 06 October 2013 17:09:51 Ivanko B wrote:
> Between
>
> 1) So the order of oncrated/onloaded depends on
> the loading state, oncreate is always first.
> If load=false the order is oncreate-onloaded-oncreated.
>
> and
>
> 2) If load=true the order can be oncreate-onloaded-oncreated or
> oncreate-oncreated-onloaded. tform.create() normally calls
> tform.create(load=true).
> =====================
> For the PODPISKA's forms & datamodules, should which order be adjusted to ?
> Only [the default] "tform.create" version is user in the project.
>
It depends what you need. If you need an event before loaded() of the 
components has been called (what for example means that datasets are not yet 
activated) use oncreate. If you need an event after loaded() (what means that 
for example the datasets are active and autoloaded statfiles are read) use 
onloaded. If you need an event after application.run() use oneventloopstart.

Martin

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to