Re: [MSEide-MSEgui-talk] tsequencelink incorrect value assignment

2013-03-21 Thread Martin Schreiber
On Wednesday 20 March 2013 20:59:35 Julio Jiménez wrote: Sequence value is generated before tmsesqlquery.beforepost so if you cancel post a value in the sequence is lost (unassigned) AFAIK there can be unassigned values anyway if the transaction will be canceled later? I think the correct is

Re: [MSEide-MSEgui-talk] About tmsesqlquery datasource propery

2013-03-21 Thread Martin Schreiber
On Wednesday 20 March 2013 21:04:36 Julio Jiménez wrote: What is tmsesqlquery.datasource for? I have read mse db components are a fork of sqldb components. In sqldb, zeos, ibx... this field is used for a master-detail relation but this mode isn't working in mse Works for me. Is the where

Re: [MSEide-MSEgui-talk] tsequencelink incorrect value assignment

2013-03-21 Thread Julio Jiménez
I have no problem in generating sequence value and avoid this 'issue' (in fact I used sequences in mseide before the component was created). I was only pointing out what other database components like ZeosLib and IBX do. If the purpose is that the fileds values are complete in onbeforepost, then

Re: [MSEide-MSEgui-talk] About tmsesqlquery datasource propery

2013-03-21 Thread Julio Jiménez
Yes of course. The same code is working in Lazarus. It complains about a field name not existing in master dataset.. when that field is in detail... Detail sql looks liket: Select id, idmaster, name where idmaster=:id and id is the pk in master dataset Because you say it works for you, I'll

Re: [MSEide-MSEgui-talk] About tmsesqlquery datasource propery

2013-03-21 Thread Julio Jiménez
Testing again and not working. Master dataset name is clientes. Sql = select * from clientes order by denominacion asc; primary key is ID Data sourde name for clientes is clientesds One of the details datasets Name: idcli icli.datasource = clientesds Sql = select * FROM

[MSEide-MSEgui-talk] ABOUT exeption not decorated

2013-03-21 Thread Alexandre Minoshi
Hello Martin! I need to execute next code via clicking button: procedure tmainfo.on_execute(const sender : tObject); begin tterminal1.execprog(some gui program); mainfo.hide; end; If i go to this button via press Tab and then press Space - there is no problem: form hide and program started. If

[MSEide-MSEgui-talk] tbutton.frame.caption

2013-03-21 Thread Patrick Goupell
I am attempting to set a tbutton.frame.caption in program code: btnNext.frame.caption := '1 of ' + s; But I get a compiler error: main.pas(2133,16) Error: identifier idents no member caption. When I look in the source code of a tcaptionframe I see a public property for caption. Why would I

Re: [MSEide-MSEgui-talk] About tmsesqlquery datasource propery

2013-03-21 Thread Martin Schreiber
On Thursday 21 March 2013 09:54:27 Julio Jiménez wrote: Yes of course. The same code is working in Lazarus. It complains about a field name not existing in master dataset.. when that field is in detail... Detail sql looks liket: Select id, idmaster, name where idmaster=:id and id is the

Re: [MSEide-MSEgui-talk] About tmsesqlquery datasource propery

2013-03-21 Thread Martin Schreiber
On Thursday 21 March 2013 10:07:41 Julio Jiménez wrote: Testing again and not working. Master dataset name is clientes. Sql = select * from clientes order by denominacion asc; primary key is ID Data sourde name for clientes is clientesds One of the details datasets Name: idcli

Re: [MSEide-MSEgui-talk] About tmsesqlquery datasource propery

2013-03-21 Thread Julio Jiménez
yes primary key en master is ID The same SQL sentences are working in lazarus/ibx/sqldb/zeoslib I'll try to build a testcase Thank you. 2013/3/21 Martin Schreiber mse00...@gmail.com On Thursday 21 March 2013 10:07:41 Julio Jiménez wrote: Testing again and not working. Master dataset

Re: [MSEide-MSEgui-talk] tbutton.frame.caption

2013-03-21 Thread Martin Schreiber
On Thursday 21 March 2013 14:02:48 Patrick Goupell wrote: I am attempting to set a tbutton.frame.caption in program code: btnNext.frame.caption := '1 of ' + s; But I get a compiler error: main.pas(2133,16) Error: identifier idents no member caption. When I look in the source code of a

Re: [MSEide-MSEgui-talk] ABOUT exeption not decorated

2013-03-21 Thread Martin Schreiber
On Thursday 21 March 2013 17:26:49 Alexandre Minoshi wrote: Hello Martin! I need to execute next code via clicking button: procedure tmainfo.on_execute(const sender : tObject); begin tterminal1.execprog(some gui program); mainfo.hide; end; If i go to this button via press Tab and then

Re: [MSEide-MSEgui-talk] twidgetgrid.fixrows.options

2013-03-21 Thread Patrick Goupell
On 03/21/2013 02:59 PM, Patrick Goupell wrote: In a twidgetgrid the fixrows [-1] sets the column captions. It also has an options of fro_mouseselect. Could you give a comment on how / when this would be used? What kinds of things could I do in my program if I set it to true? Thanks I

Re: [MSEide-MSEgui-talk] twidgetgrid.fixrows.options

2013-03-21 Thread Martin Schreiber
On Thursday 21 March 2013 21:34:40 Patrick Goupell wrote: On 03/21/2013 02:59 PM, Patrick Goupell wrote: In a twidgetgrid the fixrows [-1] sets the column captions. It also has an options of fro_mouseselect. Could you give a comment on how / when this would be used? What kinds of