Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-15 Thread Martin Schreiber
On Saturday 13 October 2012 10:58:33 Martin Schreiber wrote: On Saturday 13 October 2012 10:48:29 Ivanko B wrote: In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen for

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-15 Thread IvankoB
In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen for this purpose) Probably oncreate because it is before loaded() calls. Success? Once me use it ( there're many

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Ivanko B
1) Regular form/datamodule - sequence of oncreate(), afterconstruction(), oncreated(), onloaded(), oneventloopstarted() since which event widgets become ready since which event datasets become ready since which event datasets become ready for setting their SQL property 2) 1 for inherited in

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Ivanko B
And for the current state: inherited oncreate() - regular oncreate(), inherited onloaded() - regular onloaded(), regular ondestroy() - inherited ondestroy so on - that's full name match in regular-vs-parent sequencing, correct ?

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 08:17:48 Ivanko B wrote: And for the current state: inherited oncreate() - regular oncreate(), inherited onloaded() - regular onloaded(), regular ondestroy() - inherited ondestroy so on - that's full name match in regular-vs-parent sequencing, correct ? There is

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 08:12:32 Ivanko B wrote: 1) Regular form/datamodule - sequence of oncreate(), afterconstruction(), oncreated(), onloaded(), oneventloopstarted() since which event widgets become ready since which event datasets become ready since which event datasets become

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Ivanko B
So in onloaded all components should be operable === It means that to have all dataset data ready me should switch back to OnLoaded() [a week ago me switched to OnCreated() ], correct ? Both on regular inherited forms data modules ? Is oncreated() called before Loaded() ? 2012/10/13,

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Ivanko B
It seems me,ve got it onloaded is designed to be universal since doesnt depend on loading state,correct? 2012/10/13, Martin Schreiber mse00...@gmail.com: On Saturday 13 October 2012 08:58:18 Ivanko B wrote: So in onloaded all components should be operable === It means that to have all

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 09:35:35 Ivanko B wrote: It seems me,ve got it onloaded is designed to be universal since doesnt depend on loading state,correct? It depends on loading state but it is designed so, that it is called after all internal loading and initialisation has been made (I

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Ivanko B
In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen for this purpose) -- Don't let slow site

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-13 Thread Martin Schreiber
On Saturday 13 October 2012 10:48:29 Ivanko B wrote: In which form/datamodule event can SQL propery of dataset be reassigned so that it affects query results (ready in OnLoaded) ? (although usually me use dataset.BeforeOpen for this purpose) Probably oncreate because it is before loaded()

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Ivanko B
Nobody but You knows that clearly ! And what does the contruction stage mean ? Can all these IMPORTANT issues be described in the REDAME in details ? Yes, please do. :-) -- Don't let slow site performance ruin your

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 12:06:50 Ivanko B wrote: Nobody but You knows that clearly ! And what does the contruction stage mean ? I don't understand. -- Don't let slow site performance ruin your business. Deploy New

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Ivanko B
When is aftrecontruction ? What's components state ? Nobody but You knows that clearly ! And what does the contruction stage mean ? I don't understand. -- Don't let slow site performance ruin your business.

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 12:55:02 Ivanko B wrote: When is aftrecontruction ? afterconstruction() is a Delphi tobject procedure. http://docwiki.embarcadero.com/Libraries/XE2/en/System.TObject.AfterConstruction What's components state ? ???

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Ivanko B
We need to know: - when called what's done to regular and inherited widgets datasets of forms datamodules - streamed, ready to read/write public protected published properties,... 2012/10/12, Martin Schreiber mse00...@gmail.com: On Friday 12 October 2012 12:55:02 Ivanko B wrote: When is

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 14:27:51 Ivanko B wrote: We need to know: - when called what's done to regular and inherited widgets datasets of forms datamodules - streamed, ready to read/write public protected published properties,... Please read the Delphi documentation for streaming of

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Ivanko B
The info doesn't cover all relations: oncreate() vs in afterconstruction() ? loaded() vs afterconstruction() ? oncreated() vs onloaded() ? 2012/10/12, Martin Schreiber mse00...@gmail.com: On Friday 12 October 2012 14:27:51 Ivanko B wrote: We need to know: - when called what's done to

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Martin Schreiber
On Friday 12 October 2012 18:37:23 Ivanko B wrote: The info doesn't cover all relations: oncreate() vs in afterconstruction() ? loaded() vs afterconstruction() ? oncreated() vs onloaded() ? I can not write more. What is the concrete problem? Martin

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-12 Thread Martin Schreiber
On Saturday 13 October 2012 07:43:27 Ivanko B wrote: To know which event to use for particular purpose be sure that's forever:) Swapping them is quite painful the DELPHI documentation is unreliable for MSEgui (strictly speaking - it can't be used without preliminary recheck by You). As to

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-11 Thread Martin Schreiber
On Wednesday 10 October 2012 22:44:26 Ivanko B wrote: The not reverting FiledDefs issue can also be reproduced on that testcase. Steps? -- Don't let slow site performance ruin your business. Deploy New Relic APM

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-11 Thread Ivanko B
Has been already reported : Even if these defs are created manully (w/o consilting by DB) ? Yes. In the today's testcase, remove all fielddefs of parent1fo.tmsesqlquery1 - it won't reflect if its descendant parent2fo.tmsesqlquery1 as well revert to inherited applied to

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-11 Thread Martin Schreiber
On Monday 08 October 2012 20:40:58 Martin Schreiber wrote: Am 08.10.2012 18:39, schrieb Ivanko B: No, me had an inactive dataset in Form.OnLoaded. And me suggest to use OnLoded. The form is last in a form inheritance chain (no more descendants) but also inserted as a submodule into a tab

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-11 Thread Martin Schreiber
On Monday 17 September 2012 14:49:34 Martin Schreiber wrote: Hi, The wrong names of tcustommseform and tmsedatamodule onloaded and oncreate have been fixed in git master 8da93ce835e3e97cf2d4edec71fe7e31dbe872f0, what was onloaded before is now oncreate, oncreate becomes onloaded. More:

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-11 Thread Martin Schreiber
On Thursday 11 October 2012 10:59:23 Ivanko B wrote: Has been already reported : Even if these defs are created manully (w/o consilting by DB) ? Yes. In the today's testcase, remove all fielddefs of parent1fo.tmsesqlquery1 - it won't reflect if its descendant parent2fo.tmsesqlquery1

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-11 Thread Ivanko B
oncreated will be called in afterconstruction(). And after OnLoaded ? Can all these IMPORTANT issues be described in the REDAME in details ? -- Don't let slow site performance ruin your business. Deploy New Relic APM

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-10 Thread Martin Schreiber
On Wednesday 10 October 2012 06:34:36 IvankoB wrote: Even for inheriting no-descendants form ? Strange. Testcase please. :-) Martin See the attachment where: procedure tparent2fo.parent2formcreate(const sender: TObject); begin showmessage('parent2form''s OnCreate is called'); //

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread IvankoB
The form is last in a form inheritance chain (no more descendants) but also inserted as a submodule into a tab page of another form. The exception occurs in run-time. The sequence is: form.oncreate, Doesn't fire at all if the form is created via Application.CreateForm(). As designed ?

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 16:29:10 IvankoB wrote: The sequence is: form.oncreate, Doesn't fire at all if the form is created via Application.CreateForm(). As designed ? Works for me. Martin -- Don't let slow

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread Ivanko B
Even if botn OnCreate OnCreated are assigned ? -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 21:18:12 Ivanko B wrote: Even if botn OnCreate OnCreated are assigned ? Yes. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread Ivanko B
Even for inheriting no-descendants form ? Strange. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-09 Thread Martin Schreiber
On Tuesday 09 October 2012 22:28:24 Ivanko B wrote: Even for inheriting no-descendants form ? Strange. Testcase please. :-) Martin -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Martin Schreiber
On Tuesday 18 September 2012 12:28:12 Martin Schreiber wrote: On Tuesday 18 September 2012 12:10:52 news.gmane.org wrote: That's me can rely on it (OnLoaded then OnCreate ..) in my programs, correct ? Not in submodules. Submodules onloaded is called after on create. That's if we

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
It is how Delphi streaming works. I found a solution where oncreate is called before onloaded independent of inline and globalloading state. git master Now we always have OnLoaded then OnCreate, correct ? Great if so :)

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 13:33:11 IvankoB wrote: It is how Delphi streaming works. I found a solution where oncreate is called before onloaded independent of inline and globalloading state. git master Now we always have OnLoaded then OnCreate, correct ? Great if so :) The opposite.

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
Now we always have OnLoaded then OnCreate, correct ? Great if so :) The opposite. :-) First oncreate after all streamed componets are created but before loaded() has been caled, onloaded will be called later from loaded() procedure. God Thanx, me have been late to make the things hardly

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
Now we always have OnLoaded then OnCreate, correct ? Great if so :) The opposite. :-) Not 100% fixed. Datasets set to active in design time are only open since OnCreate. -- Don't let slow site performance ruin your

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 15:12:15 IvankoB wrote: Which oncreate? The oncreate of the owner of the dataset? The dataset should still be in csLoading state in oncreate of the form/datamodule. Design_set_to_active_Dataset.edit is only available (allowed since the dataset gets open) within

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Martin Schreiber
On Monday 08 October 2012 15:12:15 IvankoB wrote: Which oncreate? The oncreate of the owner of the dataset? The dataset should still be in csLoading state in oncreate of the form/datamodule. Design_set_to_active_Dataset.edit is only available (allowed since the dataset gets open) within

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Ivanko B
May be thre're corrupted *_MFM.PAS files after OnCreate-OnLoaded swicth... -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Sieghard
Hallo Martin, Du schriebst am Mon, 08 Oct 2012 19:40:58 +0100: The sequence is: form.oncreate, form.onloaded, dataset.loaded(), form.oncreated. ^^^ ^on...? ^^^? Seriously, _two_ calls to form.oncreate and none to dataset.oncreate, or did

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread IvankoB
introduce a new event form.oncreate_d_? Yes, it's a new event :) -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-10-08 Thread Martin Schreiber
On Tuesday 09 October 2012 00:27:37 Sieghard wrote: Hallo Martin, Du schriebst am Mon, 08 Oct 2012 19:40:58 +0100: The sequence is: form.oncreate, form.onloaded, dataset.loaded(), form.oncreated. ^^^ ^on...? ^^^? Seriously, _two_

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-18 Thread news.gmane.org
Normally yes, if begingloballoading() has been called onloaded fires in notifygloballoading(). That's me can rely on it (OnLoaded then OnCreate ..) in my programs, correct ? -- Live Security Virtual Conference

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 11:43:32 news.gmane.org wrote: Normally yes, if begingloballoading() has been called onloaded fires in notifygloballoading(). That's me can rely on it (OnLoaded then OnCreate ..) in my programs, correct ? Not in submodules. Submodules onloaded is called after

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-18 Thread news.gmane.org
That's me can rely on it (OnLoaded then OnCreate ..) in my programs, correct ? Not in submodules. Submodules onloaded is called after on create. That's if we inserted a form as a submodule then meaning of these handlers of the form reverses, correct ? Messy :) If yes, then to the

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-18 Thread news.gmane.org
That's if we inserted a form as a submodule then meaning of these handlers of the form reverses, correct ? Messy :) If yes, then to the README.hints :) It is how Delphi streaming works. Just checked tested. For parent code accessing props of loaded components on parent form but called

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-17 Thread news.gmane.org
Hi, The wrong names of tcustommseform and tmsedatamodule onloaded and oncreate have been fixed in git master 8da93ce835e3e97cf2d4edec71fe7e31dbe872f0, what was onloaded before is now oncreate, oncreate becomes onloaded. Does it mean that OnCreate is executed later than OnLoaded since

Re: [MSEide-MSEgui-talk] Breaking change onloaded-oncreate

2012-09-17 Thread Martin Schreiber
On Tuesday 18 September 2012 06:50:19 news.gmane.org wrote: Hi, The wrong names of tcustommseform and tmsedatamodule onloaded and oncreate have been fixed in git master 8da93ce835e3e97cf2d4edec71fe7e31dbe872f0, what was onloaded before is now oncreate, oncreate becomes onloaded. Does