Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread news.gmane.org
> and get (see attachment). Looks OK for me. > > Martin Opps, it seems that my version of PrintQuery mixed numbering of persistent fields & fielddefs, correct ? The correct one will be smth like : procedure printquery (const qry:tmsesqlquery; const title: msestring); var s,s1,s2: msestring;

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 22:34:36 Ivanko B wrote: > But PRINTQUERY sometimes shows strange or (even impossible) values - > for instance '10.08.2012' data value stored in a largeint field though > it shouldn't be allowed to write because of type check (though the > dataset was in dsEdit/Insert s

Re: [MSEide-MSEgui-talk] SF on destroying datamodule

2012-09-18 Thread news.gmane.org
> Did you read my code snippet carfully? > " > procedure dmmt1moacquire; > begin > if refcount = 0 then begin > modinstance:= tdmmt1mo.create(nil); < > // application.createdatamodule(tdmmt1mo,modinstance); <<-- > // module will be destroyed by applicatio

Re: [MSEide-MSEgui-talk] SF on destroying datamodule

2012-09-18 Thread Martin Schreiber
On Wednesday 19 September 2012 07:09:42 news.gmane.org wrote: > > modinstance.free; > > == > > Me tried FreeAndNil(modinstance) and also got SF. FPC sometimes > > exposes surprises :) > > FREE doesn't help. Still SF. > Me forger if included the RELEASE/FREE call in the destructor, in the se

Re: [MSEide-MSEgui-talk] mse-installer

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 22:32:25 Patrick Goupell wrote: > While trying to open the setup.prj project file, I get the following > error (screenshop). > > Patrick It is a project of wahono which should be updated for current MSEgui. Martin -

Re: [MSEide-MSEgui-talk] SF on destroying datamodule

2012-09-18 Thread news.gmane.org
> modinstance.free; > == > Me tried FreeAndNil(modinstance) and also got SF. FPC sometimes > exposes surprises :) > FREE doesn't help. Still SF. Me forger if included the RELEASE/FREE call in the destructor, in the sent test case. destructor tparent2fo.destroy; begin inherited; dm

Re: [MSEide-MSEgui-talk] git trouble

2012-09-18 Thread Ivanko B
it is actually very very hard to loose committed work in a git repository. Only a hardware failure... or recreating the repository at server side... -- Live Security Virtual Conference Exclusive live event w

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Ivanko B
But PRINTQUERY sometimes shows strange or (even impossible) values - for instance '10.08.2012' data value stored in a largeint field though it shouldn't be allowed to write because of type check (though the dataset was in dsEdit/Insert state) . Could We check all these things thoroughly ? Ones slow

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Ivanko B
I get " tmsesqlquery1: [.] === Exactly what me got too (wrong) - just in different writing order :) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threa

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Ivanko B
without POST call, = Opps, EDIT :) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions w

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Ivanko B
No dataset.checkbrowsemode in editstate -> no field update. = Hmm..How then do they set data of appended record ? Appended record is in dsInsert (not dsBrowse) state thus editable without POST call, correct ? Sometimes me can't get the system :) ---

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Ivanko B
But should (acc to the design time order in the fields editor) be : [0]:tmsesqlquery1field3: 2xx [1]:tmsesqlquery1field4: 3xx [2]:tmsesqlquery1field7: 1 [3]:tmsesqlquery1field8: 2 [4]:tmsesqlquery1field9: 3 [5]:tmsesqlquery1field10: 4 [6]:tmsesqlquery1field11: True [7]:tmsesqlquery1field1: 4xx [8]

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-18 Thread Ivanko B
It does not insert components with invalid object text. ... Because the form can not be copied. ... Paste is always enabled if there is a valid target independent of possible clipboard content. === Sounds reasonable but feels unobvious when working :) -

Re: [MSEide-MSEgui-talk] SF on destroying datamodule

2012-09-18 Thread Ivanko B
modinstance.free; == Me tried FreeAndNil(modinstance) and also got SF. FPC sometimes exposes surprises :) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threa

Re: [MSEide-MSEgui-talk] SF on destroying datamodule

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 15:28:39 news.gmane.org wrote: > - just run & exit the attached project. > > PS: > Earlier this approach (replacing module instance var with a function > returning the module type + refcounting & combining with client's > constructor/destructor) worked. > > Removing "dm

Re: [MSEide-MSEgui-talk] TFiledFiedLink: reads "datafield" from "destdataset" not "datasource.dataset" as expected

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 09:42:11 news.gmane.org wrote: > > With attached testcase: > > - select smth in all combo boxes > - press "show qry data" button > > Acc to the design time fields order of tmsesqlquery1, we should have in > run time: > > ..field3: 2xx (from tmsesqlquery2) > ..field4: 3x

Re: [MSEide-MSEgui-talk] Inherited forms: some issues

2012-09-18 Thread Martin Schreiber
On Tuesday 18 September 2012 12:07:09 news.gmane.org wrote: > >> Click within empty area of PARENTFORM1, select all components, Delete > >> them via RClick, click within the empty area, press ESC button, RClick > >> for Paste, call Paste (gets available here) - me have an error. > > > > Which erro

[MSEide-MSEgui-talk] mse-installer

2012-09-18 Thread Patrick Goupell
I am trying to setup / use the mse-installer project on mseuniverse. Are there any instructions on how to use this program? Thanks. Patrick -- Live Security Virtual Conference Exclusive live event will cover all the wa

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 for

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

2012-09-18 Thread Martin Schreiber
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 inserted a form as a submodule then meaning of these handle

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] Inherited forms: some issues

2012-09-18 Thread news.gmane.org
Click within empty area of PARENTFORM1, select all components, Delete them via RClick, click within the empty area, press ESC button, RClick for Paste, call Paste (gets available here) - me have an error. Which error? Here attached. It is caused by clipboard data MSEide can't understand (copi

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

Re: [MSEide-MSEgui-talk] Troubles with chained inheritance

2012-09-18 Thread news.gmane.org
>> With the latest test case: >> >> - create a new form inherited form MAINFO >> - note that the tabwiget is unusable (doesn't accept tab pages) & the >> button lost its caption >> - to fix we should call "revert to inherited" for all affected componets >> > Please try again with git master > 66f

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 Ex

Re: [MSEide-MSEgui-talk] git trouble

2012-09-18 Thread Graeme Geldenhuys
On 18/09/12 02:34, Patrick Goupell wrote: > > I did / or caused msegit to do something and I lost 2 weeks of work. I doubt it, it is actually very very hard to loose committed work in a git repository. I see you did solve the problem. If that happens again, I recommend you run 'gitk --all' to v