Re: [MSEide-MSEgui-talk] Widget Style

2021-06-19 Thread fredvs
Hello Med. In attachment, demo + picture using templates for frame and face for tabs. It is not exactly what you wanted but it is not so far. med_tab.zip

Re: [MSEide-MSEgui-talk] Widget Style

2021-06-19 Thread fredvs
> I wanted to frame only the selected tab. that the deal. To change the face of the selected tab, I use a template but you may use directly the properties: mytab.tab_faceactivetab.template := myfacetemplate; But yes, I dont see a property tab_frameactivetab (only tab_frametab). Maybe you

Re: [MSEide-MSEgui-talk] Widget Style

2021-06-19 Thread fredvs
Hello Med. In ideU the tab-widgets have a custom look, see attachment. Maybe you may take a look at the code to see how I did. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Widget Style

2021-06-19 Thread fredvs
Re-hello Med. Oooops, ok, I found the discussion. OK, that "Style" property was a new property introduced by Leandro (Lainz) in this new BRAGui widget MSEgui demo. https://github.com/bgrabitmap/bgragui At the beginning I did not catch that this property was new and it was a addition of Leandro.

Re: [MSEide-MSEgui-talk] Widget Style

2021-06-19 Thread fredvs
Hello Med. Sorry but I dont remember that discussion, could you give a link? About "skins" and mse, I never used it but there is a demo (not tested) in mseuniverse: https://github.com/mse-org/mseuniverse/tree/master/skins (But I dont remember anything about that "Style" property, please light

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread fredvs
Re-re hello. I did find this (from a Martin too): this It seams that using "ptruint" generate always or a hint or a warning (see the difference in the discussion of the link).

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread fredvs
Re-hello. Sorry, I dont catch it; ;( For example, that code produce the warning pointing to ptruint: > Conversion between ordinals and pointers is not portable. procedure tpointeransistringhashdatalist.add(const keys: array of string; startindex: pointer =

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-16 Thread fredvs
> I did research about this in Lazarus forum and their solution for the > "ptruint" hint is to use this: > > {$push} > {$hints off}{$warnings off} >... // code using ptruint > {$pop} > > ;-) ! > Oooopss... > VERY dangerous - seems they don't really use this internally. Huh,

Re: [MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-12 Thread fredvs
Hello Sieghard. Thanks, very clear. I did research about this in Lazarus forum and their solution for the "ptruint" hint is to use this: {$push} {$hints off}{$warnings off} ... // code using ptruint {$pop} ;-) ! Fre;D -- Sent from:

[MSEide-MSEgui-talk] Conversion between ordinals and pointers is not portable ?

2021-06-11 Thread fredvs
Hello. When compiling msegui applications, there are lot of hints of this kind: > mseclasses.pas(3714,12) Hint: (4055) Conversion between ordinals and > pointers is not portable Line 3714 of mseclasses.pas (column 12 is "ptruint") is: > if odd(ptruint(source)) then begin What does it mean and

Re: [MSEide-MSEgui-talk] Image preview in mseide ImageList Editor?

2021-06-09 Thread fredvs
Re-re hello Med. About image-preview for face.image, here what ideU does in last commit (and that can be done for mseide): Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Image preview in mseide ImageList Editor?

2021-06-09 Thread fredvs
Re-hello Med. What can be easy done is to use mseFileDialogX with image preview for all the msecomponent.face.image, so it will be easier to choose a image. But for tstockGlyphButton, I dont see what you ask so please explain. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Image preview in mseide ImageList Editor?

2021-06-09 Thread fredvs
Hello Med. > It will be possible to extend or update tstockGlyphButton icons with it > ? Not sure to understand. With tstockGlyphButton, you may choose the glyph image clicking on the "glyph" property and it will show all the images. See picture:

[MSEide-MSEgui-talk] Image preview in mseide ImageList Editor?

2021-06-08 Thread fredvs
Hello. What do you think to enable a filedialog with image-preview in the ImageList Editor of mseide? This because if you dont know exactly the filename of a image, the classic mse filedialog dont give any infos and it could be difficult to choose the right one. A preview is much more

Re: [MSEide-MSEgui-talk] mseide configure

2021-06-07 Thread fredvs
Hello Code DZ > it works now Yep, nice and now you may mix Tfiledialog with TfiledialogX in a same form. > btw the spacer between (ok and cancel) button in the setting dialog is > unnecessary Indeed, I dont know why it was there, removed in last commit c1f236ca0. Maybe a new binary release of

Re: [MSEide-MSEgui-talk] mseide configure

2021-06-07 Thread fredvs
Hello Code DZ. OK, fixed (I hope) in commit fd0f8dc27. But you will need to re-compile mseide first and then use that binary to change msesettings code. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk

Re: [MSEide-MSEgui-talk] mseide configure

2021-06-07 Thread fredvs
Hello Code DZ. Hum, indeed, changing something in msesettings form add properties for each tfilenameedit.controller : controller.panel = False controller.compact = False controller.showhidden = False Those properties are for the new component tfilenameeditX. There is then a

Re: [MSEide-MSEgui-talk] BufDataset

2021-06-07 Thread fredvs
Hello Med. > I think it's safe to apply the patch. OK, done with commit ee9b368b4 > In the case of sum the same code is repeated 4 times , I believe. I want > to optimize that if it's possible? Of course, please do it ( and do a pull-request when you are ready). Fre;D -- Sent from:

[MSEide-MSEgui-talk] test server

2021-06-06 Thread fredvs
It is a test to see if server is OK. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] fpGUI lost drag n drop example in new environment

2021-06-04 Thread fredvs
Hello. For fpGUI stuffs please use the site http://geldenhuys.co.uk/webnews/ or use GitHub and create a issue: https://github.com/graemeg/fpGUI/issues . Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-28 Thread fredvs
Hello Med. > Is it safe to apply the patch ( buffdataset and VERSION.TXT ) ? If you used the last buffdataset.pas that I provided for me all seems ok too. (Here is the file concerned:) msebufdataset.zip The new

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
Hello Med. OK. But what about msebufdataset.pas, should I commit the changes? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
Hello Med! This work here (but still need the case of) case sender of tdbintegeredit: showMessage(GetStrProp(tdbintegeredit(sender).datalink.datasource.dataset, 'name')); -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
> BTW GetStrProp ( sender, 'name') gives the tdbintegeredit1,then why not datalink.dataset? I dont know, I have to jump into GetStrProp and friends. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
Hello Med. Yes, my ball shows it. Like said in previous post, I have to learn that RTTI stuffs more. But, what about to use something like this: procedure infotiersfo.onsetValue(const sender: TObject; var avalue: Integer; var accept: Boolean); begin if sender is tdbintegeredit

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
Re-hello Med. Ok, I understand now what you want. I dont know how to do to access properties with Getpropinfo(). (But I will be very happy to learn how to use it). Sorry for the noise. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
Hello Med. Here, using your demo, this work: PropInfo := getpropinfo(typeinfo(tdbintegeredit1),'datalink'); showmessage(PPropInfo(PropInfo)^.Name); -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing

Re: [MSEide-MSEgui-talk] RTTI

2021-05-27 Thread fredvs
Hello Med. Sorry but once again, isolated code out of context is difficult to understand. Using your demo, doing this works: showMessage(tdbintegeredit1.datalink.fieldname); showMessage(tdbintegeredit1.datalink.datasource.dataset.name); showMessage(tdbrealedit1.datalink.fieldname);

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-25 Thread fredvs
Re re re hello Med! In attachment your project with name and type of column: test__med.zip Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-25 Thread fredvs
Hi Med. In attachment, your project with type of column enabled: test__med.zip Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-25 Thread fredvs
Yep Med. Using this is ok here: if tdbwidgetcol(odbgrid.datacols.items[iCol]).datalink.field.datatype = ftInteger then showMessage('It is a ftInteger'); (But maybe it is not what you want) Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-25 Thread fredvs
Hello Med. **Many** thanks for the demo, much easy to understand now. Indeed, here there is a error with: if tdbwidgetcols(odbgrid.datacols.items[iCol]).getitemclasstype = tdbintegerEdit then showMessage( 'DONE '); I get that error (and I dont understand why): "testf" 0x00658f11 in

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-24 Thread fredvs
Re... hello Med. Maybe you may try a other way. It seems to me that the kind of column in a BDStringgrid is assigned when you connect the fields to the tmsesqlquery1-field. So if you want to know the kind of column in a BDStringgrid, this should work: var str : string; datatype: tfieldtype;

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-24 Thread fredvs
Re_hello Med. You may try this (from previous post): if tdbwidgetcols(odbgrid.datacols.cols[iCol]).getitemclasstype = tdbintegerEdit then There is also this one: if tdbwidgetcols(odbgrid.datacols.items[iCol]).getitemclasstype = tdbintegeredit then ... But I really would prefer that you

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-24 Thread fredvs
Hello Med. > the line code which raise this error: > if tdbwidgetcols(odbgrid.datacols[iCol]).getitemclasstype = tdbintegerEdit > then ... Here I dont get error (but I dont have all your code and I dont find my ball) Hum, I dont understand fully the mse-synthax but could you try with this: (see

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-24 Thread fredvs
Hello Med. To resume, I propose this for the patch: procedure sumfield(const afield: tfield; out asum: currency); "afield" type could be: [ftinteger,ftsmallint,ftword,ftbcd,ftfloat] // should we add ftlargeint? procedure sumfield(const afield: tfield; out asum: double); "afield" type

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-24 Thread fredvs
Hello Med. > because not all programmers want to sum integer into currency? Dis you try the msebufdataset.zip of my previuos post? No problem if a programmer want to sum integer into integer, he may still use:

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Hello Med. The last for tonight. Could you try changing your /mseide-msegui/lib/common/db/msebufdataset.pas with the one in attachment? msebufdataset.zip This one enable (I hope) to add integer-fields into currency

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Hi Med + Sieghard. I would propose this: procedure tmsebufdataset.sumfield(const afield: tfield; out asum: currency); var int1,int2: integer; index1: integer; po1: precheaderty; po2: pprecheaderty; bo1,bo2: boolean; state1: tdatasetstate; begin

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Re-re-re hello Med. Hello Sieghard. After deeper look into procedure tmsebufdataset.sumfield(const afield: tfield; out asum: currency); Here my conclusion: There are only: case ffieldinfos[afield.fieldno-1].base.fieldtype of ftbcd: ftfloat: And I dont see really why tfinteger: is banned.

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Hello Med. > There is probably a raison? It seems that Martin wanted that the field-type is the same as out-sum variable. It is the reason why he added the "checksumfield" method at init of each "sumfield" method. But why, I dont know (because your code shows that it is possible to add integer

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Re-hello med. > s:=s+query.fieldbyname( < INTEGERFIELD>).value; Ha, maybe I get it. If I understand ok, with your code it works, but with Martin's code using sumfield() it does not work. If so, do you think it would be possible to create a new sumfield() that uses your code and that will work?

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Hello Med. OK (but for me only part of code you give is like you are talking in Martian). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-23 Thread fredvs
Hello Med. > we can not sum integer field into a currency VAR with Martin's sumField > Procedure? Does it happen only with last msegui 5.4.0 or was it the case with previous version 4.6.0 too? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-22 Thread fredvs
Hello Med. It seems to me ok to add a parameter for your new object/method. And I will be very happy to test this wonder in your MSE-DB demo. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-22 Thread fredvs
Hello Med. > Your Crystal ball is very strong. It saw right  . Yes, when I clean it a few, there are beautiful things to see sometimes. By the way, a side is still dirty and I cannot wash it at the moment. For example: > There is a segmentation fault lib/common/widgets/msewidgets.pas

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-21 Thread fredvs
Re hello Med. Ok, I am near my crystal ball. Not sure to see well but it seems that you use a tdbstringgrid for grid. If it is the case, could you try this: - Add "msewidgetgrid," in the uses section of your "main.pas" file (if not already there, of course). - Use this to know what kind of

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-21 Thread fredvs
Hello Med. Would it not be possible to give a short complete demo of your code? For me it is very difficult to understand-help only with short piece of code. With concrete example maybe other people and me could understand-help for what you are looking for. > see piece of my mfm file. there

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-20 Thread fredvs
Re-hello Med. With this it compiles but I did not test for database: if twidgetcols(atwidgetgrid.datacols[i]).getitemclasstype = tgridintegerdatalist then ; Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-20 Thread fredvs
Hello Med. > if .col[i] is tdbintegeredit then b1 else b2 In a form1.mfm, the kind of widget is declared as this: object atwidgetgrid: twidgetgrid ... datacols.count = 1 datacols.items = < item[something] width = 20

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-20 Thread fredvs
Hi Med. > Numeric (x,y) Hum, indeed, I just check and there is that "numeric" type for DB (that I did not know). I have to deeply study those DB features. (And it is why some demos from you will be more than welcome). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-19 Thread fredvs
Re-hello Med. sumfield is only implemented for double, currency, integer and int64: procedure sumfield(const afield: tfield; out asum: double); overload; procedure sumfield(const afield: tfield; out asum: currency); overload; procedure sumfield(const afield: tfield; out asum:

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-19 Thread fredvs
Hello Med. Maybe you can complete the code checking all types that can be summed: if (oField.datatype = ftinteger) then B1 else if (oField.datatype = ftcurrency) then B2 else if (oField.datatype = ftfloat) then B3 else if (oField.datatype = ftbcd) then B4 else if (oField.datatype = ftdate)

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-19 Thread fredvs
> Martin did not introduce variant_sumfield then for me it's not recommended. I agree and also it seems that using variant will make all the process slower. In the last code you give, in the first peace of code: procedure tfrmbasePagefo.DoSum(oDbGrid: TDbwidgetgrid; iRow:integer); VAR

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
Ha, OK, indeed, nicer. (But I like your first peace of code too.) For the new code, maybe using a variant variable and create a new sumfield() procedure: procedure tmsebufdataset.sumfield(const afield: tfield; out asum: variant); But for this, we need a variant-guru (I am beginner in variant

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
Re-hello Med. > Now summing ftinteger FIELD into currency VAR gives 0 ? Sorry but I dont understand. Why do you want to sum ftinteger field into a currency var? Why not sum ftinteger field into a integer var and after this, convert the integer var into a currency ? -- Sent from:

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
> Now summing ftinteger FIELD into currency VAR gives 0 ? Please, give code example, it is really difficult to understand otherwise. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
> An other option is possible > We can set aFields.optionsfield of_user0 to (true or false ) Nice too. (but more tricky). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
Hello Med. > What do you think? I would vote for this (set bCheck default to true for compatibility with previous code): procedure msebufdataset.sumfield(const afield: tfield; out asum: double; bCheck: boolean = true); And do it for all the other sumfield() (integer, currency, float, etc).

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
Hello Med. Here is tmsebufdataset.sumfield: What about only comment the first line after begin ? Is it what you want? If so, maybe we can add a parameter (, nocheck) or create a new procedure without check (procedure sumfield_nocheck). procedure tmsebufdataset.sumfield(const afield: tfield; out

Re: [MSEide-MSEgui-talk] BufDataset

2021-05-18 Thread fredvs
Hello Med. > In the SRC of msebufdataset.pas there is a function to check that ( > checksumfield) and abort the task. Hum, in msebufdataset.pas I see a "procedure checksumfield" not a "function checksumfield": procedure tmsebufdataset.checksumfield(const afield: tfield;

Re: [MSEide-MSEgui-talk] [fpc-other] FireBird or MySql ?

2021-05-17 Thread fredvs
Thanks Santiago, Graerme and Vasi for the light. The good news is that MSEgui offers: . TFBconnection (to use early Firebird), . TFB3connection (to use Firebird 3.0), . TMSEPQconnection (to use PostgreSQL 3.0), . TSQLiteconnection (to use SQLite3) . TOBDCconnection (to use ODBC) .

Re: [MSEide-MSEgui-talk] TskinControler

2021-05-17 Thread fredvs
Hello Med. > Here is the demo asking for > https://github.com/mse-org/mseide-msegui/files/6459528/demo.zip Thanks but I dont see any source-code. Also, how to use that program? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] FireBird or MySql ?

2021-05-17 Thread fredvs
Thanks Graeme for the infos. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] TskinControler

2021-05-11 Thread fredvs
> Here is the demo asking for https://github.com/mse-org/mseide-msegui/files/6459528/demo.zip Perfect and welcome to GitHub. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Unit MSEmidi

2021-05-11 Thread fredvs
Hello Roland. > (The "program" keyword is omitted.) Ha, ok, I did not know that it was permitted. I will jump into your code tonight. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing

Re: [MSEide-MSEgui-talk] FireBird or MySql ?

2021-05-11 Thread fredvs
Hello Funlw65. Thanks for the infos. Indeed there is lot of positive advice about FireBird and less for MySQL. But following DB-Engines Ranking from: https://db-engines.com/en/ranking MySql = 2th (Oracle is first) and FireBird is only 31 th. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] TskinControler

2021-05-11 Thread fredvs
Hello Med. You may use the "nabble mse mailing-lis": http://mseide-msegui-talk.13964.n8.nabble.com/ Then, like Roland said, click on the button "More" + "Upload a file". You may also use Github: create a issue and add

Re: [MSEide-MSEgui-talk] TskinControler

2021-05-10 Thread fredvs
Hello Med! > I use 5.4.0 fisrt update and till now I have not any problem with > database units. Yep! Did you try with last commit of MSEgui, is it ok with the warning (and of course does it not break anything)? https://github.com/mse-org/mseide-msegui/archive/refs/heads/master.zip Fre;D

Re: [MSEide-MSEgui-talk] TskinControler

2021-05-10 Thread fredvs
Hello Med! > Realy I do not know if it's a bug . But if I set the theme file into > datamodule as .sta file this one is not read by skincontroller? Hum, I never used skincontroller, for theming, I use the the "template" property of each component for frame, face, etc and the "template"

Re: [MSEide-MSEgui-talk] TskinControler

2021-05-10 Thread fredvs
Hello Med! > Ps: This subject was discussed with Martin see > https://www.mail-archive.com/mseide-msegui-talk@.../msg12773.html Ooops, that was a big discussion! Sorry but I am a little lost, what is the problem-goal of the discussion? Is it something that you need, or is there a bug to

Re: [MSEide-MSEgui-talk] Unit MSEmidi

2021-05-10 Thread fredvs
Hello Roland! Sorry for the long delay, I am hyper-sur-booked. I did try your attachment but did not find the "program" file (I found only units-files). How to make it work? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-09 Thread fredvs
Re-hello all. OK, I hope it is the good one. Fixed in last commit all warnings about range check in enums of DB units. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-09 Thread fredvs
Hello all. > OK, fixed in last commit. NO, it was not ok and caused "Unknown" fields. So I reverted that commit to prior. And there are still now the warnings, sorry. I have to jump into it deeper and will do it asap. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-09 Thread fredvs
Hello Med. > I have some notes and warning see joined txt. OK, fixed in last commit. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-09 Thread fredvs
Re-hello. About the error range warnings with enums. OK, I remember now how to fix it (there was discussion about this 2 years ago). The trick is to remove all the "extended members of a enum", like const extendedenum1 = ord(high(tdataevent))+1; extendedenum2 = ord(high(tdataevent))+2; end

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-09 Thread fredvs
Hello Med and others. About the warnings of range error. It is about some strange use of enum by Martin. I would need some help to fix it. For example, this is used: Const de_afterapplyupdate = ord(high(tdataevent))+6; and a few later: dataevent(tdataevent(de_afterapplyupdate),0); // this,

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-09 Thread fredvs
Hello Med. Happy that it works! Thanks for your txt notes, I will study it tonight. By the way, feel free to complete your demo (with filters, search, commander, etc, ...) because I did not find any demo in mseuniverse that shows how to do with fb3 database. And then we can add your demo in

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-08 Thread fredvs
Hello Med. Released mseide-msegui 5.4.0 with the (I hope) DB field fixes: https://github.com/mse-org/mseide-msegui/releases/tag/5.4.0 You may use the binary of MSEide and source that are in the assets. I still cross my fingers. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-08 Thread fredvs
Hello Med. I hope it is the last one. Fixed in last commit: https://github.com/mse-org/mseide-msegui You will need to recompile MSEide with those last msegui commit. After this, reload your project using last msegui and

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-08 Thread fredvs
Hello Med. I am lost. I cannot find what I did to make it work with ideU. Sadly I did not commit the change to git and stupidly I removed that working test directory. I have to do a break otherwise I will be completely crazy. I hope that I will remember what I did but now it is the black out.

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-08 Thread fredvs
Med! Sorry, dont use the last release of ideU, it is the last commit that works. So, please wait a little bit, I check everything but we are near the goal. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-08 Thread fredvs
segui-talk.13964.n8.nabble.com/file/t2/ideU_db.png> May I ask you if it could be possible for you to load the project with ideU ? https://github.com/fredvs/ideU/releases/ ideU is a fork of MSEide and it works like MSEide. If, by chance, you have more luck with ideU, we have light to see what is wro

[MSEide-MSEgui-talk] FireBird or MySql ?

2021-05-08 Thread fredvs
Hello. I re-jumped (thanks to Med) into databases. Long ago I was using Microsoft SQL server or Borland-Delphi BDE. Now, as Open-Source converted, I prefer to use something Open-Source. But it seems to be a kind of war for this, like the "Mac vs Windows" war. Some people say MySQL is a joke,

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-08 Thread fredvs
Hello Med. What project are you using? With the last project I give, I get this: Here the last project I give: mse_fb3_new.zip Note that I

[MSEide-MSEgui-talk] Installing FireBird 3.0 on Linux.

2021-05-07 Thread fredvs
Hello. Here a working easy way to install FireBird: 1) Download the last version for your OS here: https://firebirdsql.org/en/firebird-3-0/ 2) Unzip it somewhere. 3) Go in the directory: $ cd /somewhere/Firebird-3.0.7.33374-0.amd64 4) Install it with: $ sudo

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-07 Thread fredvs
Re-hello Med. So, to resume, it seems that, like for the "size" problem, with MSEgui 5.2.0, if you import a old fb3 project, you have to first delete the controller.fields and then re-create it. Or delete the all the component and re-create it using msegui 5.2.0. I created a new project from

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-07 Thread fredvs
Hello Med. Here it works doing this: Edit tmsesqlquery1 with the Object Inspector. Select tmsesqlquery1.controller.fields.count and set it to 0. Then set tmsesqlquery1.active := true;

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-05 Thread fredvs
Hello Med. > See tmsesql.controller.fields .The problem is there. OK, I will check it. > Try with (MseIde 4.6.3 Msegui 4.7.0 ) On Linux it is not possible to use MSEgui 4.7.O and fpc 3.2.0: they are not compatible. And I dont have a Windows machine to test. > Is the version 5.2 updated

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-04 Thread fredvs
Re-re hello Med and others. Voila, I think that FireBird 3 is correctly installed. With your demo I can access employee database. But, sadly, when trying to set tmsesqlquery1.active := true there is that error message: Field 'EMP_NO' expected ftsmallint Actual: unknown. See picture:

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-04 Thread fredvs
Hello Med. After a very hard fight I was able to install MySql on Linux 64 bit. Also here /mseuniverse/samples/db/simplemysql demo is working with fpc 320 and msegui 5.2. Are you able to make it work too? I had to create a test.sql database and a table using command line: $ mysql -uroot

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-04 Thread fredvs
Re-hello Med. > This sample works with Ver 4.6. and FPC 3.20. I just try to compile your demo with mseide + msegui Ver 4.6. and FPC 3.20 but without luck, here is the error at compilation: msegraphedits.pas(126,19) Error: No matching implementation for interface method

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-04 Thread fredvs
Hello Med. > This sample works with Ver 4.6. and FPC 3.20. Ha, that is excellent news. Yesterday I spent many hours to try to install FireBird and MySql on my Linux 64 bit Debian machine. Without luck ;-(. Do you have some advices how to install those programs? For example, with the demo

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-03 Thread fredvs
>From Pat: > Search for "FIRST_NAME" and delete the 'size = 15' line below it. Should > be at lines 99 and 117 > There should be 2. Maybe totally not concerned but once you have done this, you may re-create the "size" field with the Object Inspector: See picture:

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-03 Thread fredvs
> @Med: are you able to compile your demo + run with msegui 4.6 ? With fpc 3.2.0 of course. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] tmsesql

2021-05-03 Thread fredvs
Hello Med and Pat. I have zero knowledge in MSEgui database. I did try the demo of Med + the instruction of Pat and it compiles. But it does not work because Firebird is not installed on my system. @Med: are you able to compile your demo + run with msegui 4.6 ? Because we did not touch to the

Re: [MSEide-MSEgui-talk] Unit MSEmidi

2021-04-30 Thread fredvs
Hello Roland. > I have never heard of fpmidi. Are you sure of the name? Ooops, no, it is a component from breakoutbox: http://breakoutbox.de/midi/ > Do you think of something like connecting a keyboard to your computer and playing music? I Yes, I dont want to connect a usb keyboard, to much

Re: [MSEide-MSEgui-talk] Unit MSEmidi

2021-04-30 Thread fredvs
Hello Roland. > Have you ever noticed that there is a /msemidi/ unit? Yes but I never try it, so when you drink your beer, I will drink a Coca-Cola with you. In the past I did try to make work fpmidi but without luck. It would be very great to have a (easy to work) midi interface for Linux.

Re: [MSEide-MSEgui-talk] Forum

2021-04-28 Thread fredvs
Hello Med. You may try https://stackoverflow.com/ I did use it some time and have success with the answers. There is a forum of MSE-org here: http://mse-org.111682.n8.nabble.com/ But there is very few movement. What optimization code and other features that no other programming language

Re: [MSEide-MSEgui-talk] What is 'ifi'?

2021-04-28 Thread fredvs
Hello Med. Many thanks for the demo. But can you explain how to use it? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

  1   2   3   4   5   6   7   8   9   10   >