Re: [MSEide-MSEgui-talk] New release of MSEide ?

2020-09-19 Thread fredvs
Hello everybody. Hum, not too much answers here. But does still exist somebody that uses msegui? 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] New release of MSEide ?

2020-09-19 Thread fredvs
Hello everybody. Bon, ok, I will answer to me, so there is at least one answer. "Hello Fred. Thanks for all your hard and big work to test and retest msegui with each new commit of fpc and fix all to make mse still the best widgetset of the world. Yes, I think that a new release of mseide with

Re: [MSEide-MSEgui-talk] New release of MSEide ?

2020-09-19 Thread fredvs
Hello Dear Roland. > You began to do that here > Ok, I did edit-update the modification done only for fpc >= 3.2.0, like asked in the post. Now about all other modifications, I will add a short description in the

Re: [MSEide-MSEgui-talk] New release of MSEide ?

2020-09-19 Thread fredvs
Hello. There is a new release of MSEide binary: https://github.com/mse-org/mseide-msegui/releases/tag/5.2.0 Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Grid

2020-09-20 Thread fredvs
Re-hello Med. Ooops, in my previous post it will not do what you want: remove the vertical line of the cell. So, yes maybe it should be a onPaint from the grid himself, not a cell of the grid. So maybe like you proposed with grid.onpaint and only re-paint a part of the canvas, corresponding

Re: [MSEide-MSEgui-talk] New release of MSEide ?

2020-09-20 Thread fredvs
Hello Med. >till now I did not find any serious bugs but only some missings. Please could you give more infos, what bug did you find and what is missing? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] Grid

2020-09-20 Thread fredvs
> I believe that the work is around OnPaint Event? Hello Med. Yes I think it is the easier solution. You way use grid.datalcols[0].ondrawcell and set as method: procedure Tmyform.ondrawcell(const Sender: tcol; const Canvas: tcanvas; var cellinfo: cellinfoty); begin if cellinfo.cell.row = -1

Re: [MSEide-MSEgui-talk] stringgrid multi select

2020-09-20 Thread fredvs
Re-hello Patrick. You may use also the "oncellevent" method of grid. For example to select multi celsl you may do something like this: procedure Tmygridform.oncellev(const Sender: TObject; var info: celleventinfoty); begin if ((info.eventkind = cek_buttonrelease) or (info.eventkind =

Re: [MSEide-MSEgui-talk] stringgrid multi select

2020-09-20 Thread fredvs
Re-re Hello Patrick, In attachment a litle demo of multi-cells selected. gridmultiselect.zip Fre;D --

Re: [MSEide-MSEgui-talk] stringgrid multi select

2020-09-20 Thread fredvs
Hello Patrick. I did not try/use multiselect option but to select rows by code, I use, for example 3 cellpos: grid.defocuscell; grid.datacols.clearselection; grid.selectcell(cellpos1, csm_select, False); grid.selectcell(cellpos2, csm_select, False);

Re: [MSEide-MSEgui-talk] Note for azerty keyboard user on Linux.

2020-08-01 Thread fredvs
> > I didn't know that bambara was a kind of french. Funny. :) https://fr.wikipedia.org/wiki/Bambara It is estimated that about 80 percent of the population of Mali speak Bambara as a first or second language. And maybe the computers they use are similar of those of their old French friends,

Re: [MSEide-MSEgui-talk] Grid

2020-08-01 Thread fredvs
Hello Med. Could you give also the source pascal of the capture? I did not understood what column you want to hide, but setting the width of the column = 0, would it not be ok? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Note for azerty keyboard user on Linux.

2020-08-01 Thread fredvs
Hello Roland! > I never used bookmarks so I don't see well the problem, It is not only for bookmarks but for all Linux applications. To type a number, with a azerty keyboard (like mine), on Linux and the French keyboard enabled, you need 2 fingers. One to press the shift key and one to press the

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-08-10 Thread fredvs
> There is also the widegets from bgragui that are msegui compatible: Ooops, the site with code is this one: https://github.com/bgrabitmap/bgragui/tree/dev-bgragui -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-08-10 Thread fredvs
> thanks fred , i'll check that Maybe you can try BGRABitmap on MSEgui too. In attachment a MSEgui/BGRAbitmap simple demo. testbgra.zip It uses both Tmseimage/Timagelist and BGRABitmap images. Please check in project

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-08-08 Thread fredvs
Hello. The problem of incompatibility with MSE image and the classes bridge is solved. The fixes are in last commit of MSEgui. So now you may use the classes bridge for all your MSE applications, even if you dont use BGRABitmap, all MSE widgets using imported images should work too. Fre;D --

Re: [MSEide-MSEgui-talk] Note for azerty keyboard user on Linux.

2020-08-01 Thread fredvs
> > > I didn't know that bambara was a kind of french. Funny. :) Are talking about the Linux French Bambara Variante keyboard layout? Ha, ok, yes, indeed funny to class Bambara as a

Re: [MSEide-MSEgui-talk] Grid

2020-08-02 Thread fredvs
Hello Med. Here the result of your demo without change: And here with twidgetgrid1.fixcols.linewidth := 0; Till now I did not catch how to hide only

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
Hello. I did try on a Windows 10 64 bit machine, last upgraded, with binary of MSEide 32 bit from there: https://github.com/mse-org/mseide-msegui/releases/tag/5.0.0 And using the source from there: https://github.com/mse-org/mseide-msegui With the simple project msetimagelist in attachment,

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
Hello. I did compile ideU and MSEide via wine emulator on Linux and all seems ok. I did use fpc-ootb 3.2.0 from there: https://github.com/fredvs/freepascal-ootb/releases I have to find a real Windows OS computer to try. What Windows version are you using and what fpc 3.2.0 (32 or 64 bit

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
the same code for form-designer) it works. So it must be something easy to fix. Sadly I am hyper busy now, so for now, you may use binary release of MSEide 5.0.0. https://github.com/mse-org/mseide-msegui/releases/tag/5.0.0 or use last version of ideU https://github.com/fredvs/ideU/releases/tag/2.2.0

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
Hello Code DZ. I did a deeper check of last msegui trunk and indeed, the new bridge to enable BGRABitmap compatibility gives problems for some MSEgui widgets. So version 5.2.0 was set as beta and 5.0.0 as last stable release. Please use the msegui source of that release to compile MSEide (or

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
RE-rere-hello. OK, it is clear now, added fpc parameter -dno_class_bridge by default in project options. Fixed in last commit 49dcce9. Please, forget all the previous posts and use last commit of mseide-msegui. All should be ok now because it is set as no bridge by default. And yes, there

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
Please add the fpc parameter -dno_class_bridge in project options of your project. And I think that maybe we have to change msegui code and set no class bridge by default (no parameter) and if people want to use the bridge use parameter -dclass_bridge. At the moment, if you dont add any

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-25 Thread fredvs
Re hello. OK, in last commit changed default no class bridge used, use now fpc -dclass_bridge parameter to enable the class bridge for BGRABitmap. So, to resume, for all your projects that do not use BGRABitmpap, dont do nothing, just compile using last msegui trunk. If you want to use

Re: [MSEide-MSEgui-talk] imagelist is broken

2020-06-27 Thread fredvs
Hello Graeme. > In such cases `git bisect` Ha, thanks for the tip, I will use it. 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] imagelist is broken

2020-06-25 Thread fredvs
Hello. Strange. I just have try to compile with fpc 3.2.0 MSEide and ideU that both use timagelist, did add some pictures in the list and all seems ok. Could you give a demo of the problem? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-06 Thread fredvs
@ Graeme: Ops, sorry, I did not see that you was just working on it. I hope I did not hurt your work. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-06 Thread fredvs
Hello Graeme. I did use the infos from msehelp.txt from earlier post. I did commit the change in: https://wiki.freepascal.org/Reference:_MSEgui#TLayouter But I am not pro at all of wiki format so it look very raw. But, imho, more understandable that before commit. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-06 Thread fredvs
Hello. I find this document msehelp.txt (in attachment): msehelp.rar There is a TLayouter section. It seems that the wiki used that document. So, I think I will use this one to fix the wiki. OK? Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-06 Thread fredvs
Hello Graeme. I have to confess that I dont use the TLayouter widget. In ideU there is no more TLayouter anymore because I did not catch how it works and it was easier for me to align things by code. Ok, I will see if there is some demo and try to catch how it works. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-07 Thread fredvs
Hello Graeme. OK, I did continue and also added (lot of) new comments that are in msehelp.txt but missing in the wiki. It is raw but understandable (I think). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2021-01-07 Thread fredvs
Hello everybody. The bridge of Johann Elsass (-dclass_bridge) solves everything with aarch64. Adding that parameter at compilation (-dclass_bridge) for mseide for example solves all the problems (.stat file not loaded, no access to files, problems with threads, ...). Maybe we may think to

Re: [MSEide-MSEgui-talk] Error at compile time

2020-12-08 Thread fredvs
Sorry lot of problems with this mailing list. Here screen shot of palette: -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Error at compile time

2020-12-08 Thread fredvs
Hello Med. I did add some components in last release (in FileDialogX tab) and dont have that error. Strange that zstream unit is not found because it is part of fpc (paszlib) package. Anyway, could you try this: In /mseide-msegui/lib/common/fpccompatibility/msefpreadpng.pas At line 24, ...

Re: [MSEide-MSEgui-talk] Error at compile time

2020-12-10 Thread fredvs
Hello Sieghard. Thanks for your light. But finally I think that the biggest problem is my lack of patience, all the emails appeared few hours after sent. MSE has his nabble forum, this mail was sent from it. http://mseide-msegui-talk.13964.n8.nabble.com/ Have a perfect day. Fre;D -- Sent

Re: [MSEide-MSEgui-talk] Error at compile time

2020-12-11 Thread fredvs
@ Med: is this your GitHub account ?: https://github.com/medhome63 -- 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] MSEgui and CPU ARM AARCH64.

2020-12-21 Thread fredvs
Hello Graeme. Ho, nice, they did it. I will surely take a look, thanks to note it. About Raspian 64 bit and aarch64 and fpc and msegui. After big fight I finally have a stable Raspian 64 bit on my Rpi 3. Imho, it is absolutely not faster than the 32 bit version. But it works now without

[MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-19 Thread fredvs
Hello everybody. I try to make MSEgui compatible with CPU 64 bit AARCH64, for the new Rpi for example. MSEGui is already compatible for CPU ARM 32 bit but not yet for AARCH 64 bit. I did try to do compile + run a simple application with only one form. It compiles ok but at run there is that

Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-22 Thread fredvs
Hello Sieghard, hello Graeme. Thanks for your lights. Yes, I am excited to try FreeBSD on the Rpi aarch64. But ... there is no fpc target for FreeBSD-aarch64. About the problems with openfile() from clib, it is fixed now, and gives a valid handle. But there is problem also now with

Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-20 Thread fredvs
Hello Sieghard. Thanks for your advice. About Raspberry Pi OS 64 bit. OK, I was able to install it on a Rpi 3 machine. But... It is highly unstable, if you do a apt-get update, after the Rpi does not reboot. Also many installed applications crash after few time and are much slower that the 32

Re: [MSEide-MSEgui-talk] MSEgui and CPU ARM AARCH64.

2020-12-24 Thread fredvs
gui-aarch64.bz2> There is also a screenshot of StrumPract compiled and running on aarch64 Ppi 3 model. In release was added the aarch64 binaries if you want to test it: https://github.com/fredvs/strumpract/releases/tag/2.6.0 <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/strumpract_aa

Re: [MSEide-MSEgui-talk] Custom shortcuts don't displaying correctly in IDE dialog

2020-12-28 Thread fredvs
Hello Graeme. Did you see my last post? I think that brackets left and right are not "translated" with function translateshortcut() from mseact.pas. If you try to add a new shortcut or change default shortcut of component shortcuts in actionmodule.pas writing "Ctrl+[", there is a "Invalid value

Re: [MSEide-MSEgui-talk] Custom shortcuts don't displaying correctly in IDE dialog

2020-12-28 Thread fredvs
Re-re-... hello Graeme. What key are you using to do "[" and "]"? Here on my azerty keyboard I have to press "Alt Gr" (the right Alt key) and the key "(" (that is "5" in maj). Other totally other thing: http://geldenhuys.co.uk/webnews/ in not accessible for days (and week). Fre;D -- Sent

Re: [MSEide-MSEgui-talk] Custom shortcuts don't displaying correctly in IDE dialog

2020-12-28 Thread fredvs
Hello Graeme. In last commit d72bc86 of mseide-msegui, added translation of asci code for shortcuts = [, Ctrl+[, ], Ctrl+], (, Ctrl+(, ), Ctrl+), !, Ctrl+!, &, Ctrl+&, $, Ctrl+$, _, Ctrl+_. I hope it will work with

[MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-06 Thread fredvs
Hello. In Lazarus forum, there are some interrogation about https://wiki.freepascal.org/Reference:_MSEgui#TLayouter Particularly some code that seems not formatted. Does anybody understand those lines? Could it be fixed? Thanks. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-08 Thread fredvs
Hello Codedz. There are demos of Tchart in mseuniverse: /mseuniverse/attic/msedocumenting/mse/trunk/help/tutorials/widgets/charts/ Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Wiki of MSEgui TLayouter ?

2021-01-09 Thread fredvs
Hello Sieghard. > Could you give aa hint as to what was the cause of the problem? It was about some properties that was no more used. To solve it , only delete the properties in the theform.mfm code. Then save the code and "show as form". Then set the problematic properties with the object

Re: [MSEide-MSEgui-talk] Custom shortcuts don't displaying correctly in IDE dialog

2020-12-29 Thread fredvs
Re-hello Graeme. Ooops, please use last commit, there was a problem with asci conversion, the letters in asci code must be in maj. Fixed in last commit. Added too "Shift+" and many other common keys (but maybe there are some missing, so say it). Fre;D -- Sent from:

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] 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] 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] 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:

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] 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:

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:

[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] 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:

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] 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
> 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 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] 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).

[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] 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] 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
> 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
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] 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
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. 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-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-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
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 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
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
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] 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] 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] 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! > 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] 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;

[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] 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] [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] 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
> 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] 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] 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] 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-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

<    4   5   6   7   8   9   10   11   12   >