Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-05-01 Thread fredvs
Hello Sieghard. > That's all very well meant, but after trying several methods that did NOT > work at all, and after being unable to put ANYTHING on the nabble list, I > think I'll give up on this project altogether and just watch and > sporadically comment on the postings here. This is

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-26 Thread fredvs
> And are we certain that my changes are the cause of those issues? Tested here on all my mse projects (including StrumPract) and all compile and run perfectly with both fpc 3.2.0 and fpc 3.3.1. The only problems found are with mseide himself and the new behavior of TParamFlags. But it seems,

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
> So I would expect we simply need to add an extra check > during that iteration and discard all pfHidden and pfSelf parameters Yes, it is the fix. (But I maintain that if fpc did find a way to not show those new pfHidden and pfSelf parameters as default, it would be great too). Thanks Graeme.

Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-05-06 Thread fredvs
> Now I DID clean up the mess from previous failed attempts before trying the recompile, and it DID work. Nice that it works now! Yes, it is because a **very** old fpc bug. Even using "-B" (build all) fpc does not clean all previous compiled files. One of the cause is because fpc forget the

Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-05-06 Thread fredvs
Hello Sieghard. Thanks to give attention to msegui. > calling "Make" for a project I set up, "msei18n.trp", returns this error: Are you trying to compile on a Unix machine (Linux or FreeBSD) ? If yes, you should add "-fPIC" parameter to fpc compiler option: I use this macro with the gui

Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-05-06 Thread fredvs
> Now, this leaves the question where to put this compiler switch. If it > was be needed for all targets, it might be best to put it into some > ressource string yet to be defined. If it is not needed always, or > perhaps on Linux only, it might be acceptable to put it into the compiler

Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-05-06 Thread fredvs
> It seems this version was meant to already use "mselang" compilatiin or at > least compilation via llvm that it was meant to use, but as the regular > What are you (& other list members) thinking? I think there is a confusion, there is no call (yet) to mselang (the compiler). There is

Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-05-01 Thread fredvs
Re-hello. My mail was hidden in previous post, it is: fiens at hotmail.com 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] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
> I'll take a look at the MSEide code. IMHO, the problems and the fixes can be found in msedesigner.pas and msedesignparser. IMHO bis, it is great that fpc add new features in each new version but it would be even better if those new features are backward compatible. In last fpc 3.2.0. was

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
Re-hello Graeme. I seems that there is a problem with pfSelf parameter and last fpc 3.2.0, it is always set to true. Using flags:= [] shows always self-parameter. And using flags:= [pfSelf] or no has no difference, it is always pfSelf on (and so first parameter added). I did test all other

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
-- 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] How to use TParamFlags?

2019-04-26 Thread fredvs
Re-hello. Martin did answer to a Lazarus topic about TParamFlags but it does not really help how to filter: https://forum.lazarus.freepascal.org/index.php/topic,27538.15.html?PHPSESSID=3ovhgvat82bssshp06eq81m8s3 So any trick, tip, how-to are welcome. Fre;D -- Sent from:

[MSEide-MSEgui-talk] How to use TParamFlags?

2019-04-26 Thread fredvs
Hello everybody. How to use TParamFlags and how to do to hide first parameter? Or or to do to apply filters for parameters? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Thanks Graeme for that clear answer! > I thought Martin already worked on FPC 3.2.0 compatibility though. See > commit history using 'gitk --all' Hum, I fear that those commits are about FPC 3.0.x compatibility: In mclasses.pas: {$if FPC_FULLVERSION >= 030100} {$define mse_fpc_3_2} {$endif}

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Re-hello. OK, I jumped into fpc 3.3.1 + msegui. Indeed, same error: Free Pascal Compiler version 3.3.1 [2019/04/24] for x86_64 Copyright (c) 1993-2018 by Florian Klaempfl and others msegraphedits.pas(126,19) Error: No matching implementation for interface method "getdefaultifilink:iificlient;"

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Re-hello Graeme. Your script is perfect but... it need to install svn to download source of fpc 3.2.0 (and I do not find the courage). ;-( (Things would be so much easier with GitHub). Anyway, thanks to Sternas and his out-of-the-box CodeTyphon, I did install fpc 3.3.1. I will see what appends

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
> No worries. I had a quick look and fixed the issue. Graeme, you are too strong. Wow. 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] Feature Request: double click select word in editor

2019-04-24 Thread fredvs
Hello Seighard. > So, I think the best way to handle this would be to simply exchange the > beviours each condition trigger and so avoid any possible collisions. Yes, it is what was done in last commit. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] msei18n vs PO files

2019-04-24 Thread fredvs
Hello Sieghard. You may use that mailng-list and add a zip file as attachment. You may also use nabble (like I do): http://mseide-msegui-talk.13964.n8.nabble.com and, when creating a message, click on "More" "Upload a file". You may also use mse-org-forum: http://mse-org.111682.n8.nabble.com

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. Thanks for the infos about IFI, I will study it. I did some tests. Using your fixes and compiling mseide with fpc 3.0.4.: I did create a new project, with one form and one button, and assigning, via object inspector, "onexec" procedure to button.onecexute:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
> He then confirmed that IFI is now a requirement. In mseifiglob, needed to compile mseide: {$ifdef mse_no_ifi} {$error 'MSEifi support required, please do not compile with "-dmse_no_ifi"'} {$endif} -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. > > > http://wiki.freepascal.org/User_Changes_Trunk#TParamFlag_extended_for_hidden_parameters Ha, you touch something there. A "search in directories" reveal that tparamflag is only used in msedesignparser.pas (from where come the problem). So now the goal is to understand how to

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
> near the bottom of the page is a link to the development page Ooops, indeed, all what needed is there. Thanks. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. IMHO, the guilty is here, in msedisignparser.pas (Sadly I did not find any example how to use TParameterFlag. The goal is to ignore first parameter if fpc >= 3.2.x) procedure getmethodparaminfo(const atype: ptypeinfo; var info:

Re: [MSEide-MSEgui-talk] MSEide sometimes very slow

2019-04-23 Thread fredvs
>> If there is a debugger timeout at startup enlarge the >>Project'-'Options'-'Target'-'Wait before connect' value. > Maybe it could help? For all the people like me that did not find it, it is in: Project'-'Options'-' '*Debugger*'-Target'-'Wait before connect' value. -- Sent from:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Hello Graeme: Here result of compilation of last mseide with fpc 3.0.2. on Debian 9.8: Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64 Copyright (c) 1993-2016 by Florian Klaempfl and others Target OS: Linux

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
>Did you try to remove all *.ppu. *.o and friends before compilation? > Sometimes, with fpc, -B parameter is not enough to clean all. It is the reason why I highly prefer to always use the -FUadirectory parameter. In that case all the *.ppu and friends are in same directory and easy to delete.

Re: [MSEide-MSEgui-talk] bug: mouse selection in editor stops

2019-04-24 Thread fredvs
Hello Graeme. Here video of what appends on Linux Debian 9.8 64 bit: msede_selectmouse.mp4 But maybe (surely) I miss something. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
> The FPC 3.2.0 branch is being maintained and stablised here: Yes, but only source and compiling fpc is not my favorite game. Anyway, if I find lot of time and lot of courage I will do it and see what msegui + fpc 3.2.0 say. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Feature Request: double click select word in editor

2019-04-22 Thread fredvs
Hello Graeme. > Lazarus, Delphi, Eclipse, IntelliJ IDEA, Visual Studio etc all behave as Yes, I did try to convince Martin bu wihout luck. So ok to change code? With or without {ifdef noshiftforselect}? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Feature Request: double click select word in editor

2019-04-22 Thread fredvs
> When you currently double click a word in the editor, it does nothing. To enable "auto-jumper" to declaration, you should add the search paths in "Project Options" "Debugger" "Source Directories". It is a good idea to add the path of fpc, fpgui, external components, etc, ---> all can be be

Re: [MSEide-MSEgui-talk] Feature Request: double click select word in editor

2019-04-22 Thread fredvs
Hello Graeme. About changing original behavior of mseide. What do you think to enable selection without shift key by "define" ? If you want selection without shift, add -dnoshiftedit. And in code: {$ifdef noshiftedit} // code without using shift key {$else} // code using shift key {$endif}

Re: [MSEide-MSEgui-talk] BUG: trim trailing whitespace sometimes eats lineending during copy/paste action

2019-04-22 Thread fredvs
Hello Graeme. Now that I am ready to jump into code, I cannot reproduce the problem. I did try with many copy/past but it is always ok. Could you give a examples of sentences with lineended that cause the problem? > If you have the Editor's "Trim trailing whitespace on save" setting > enabled

Re: [MSEide-MSEgui-talk] MSEide sometimes very slow

2019-04-22 Thread fredvs
Hello Graeme. Here on Debian 9.5 64 bit and GDB 8.1.0.2, I do not note some big delay. No more than delay to load the application in console with: $ gdb /the/program In the case if you have installed ideU, (https://github.com/fredvs/ideU/releases), do you have the same problem? This because

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Hello code dz. > seems (view->load window layout ) is not working with the new fpc 3.3.1 Ha ? I cannot reproduce, see video: mseide_select_layout.mp4 It was compiled with Pascal Compiler version 3.3.1

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Re-hello code dz. If, by chance, the problem appear only in last trunks (after 3.3.1 [2019/04/24]), it would be interesting to see what was changed in fpc. Sadly I would not be able to jump into this asap. But of course you are welcome for it! Fre;D PS: I am not sure mse is a project for fpc

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-15 Thread fredvs
Re-hello. It seems that the problem comes from the new implementation of "AttributeTable" in rtl/objpas/typinfo.pp. So now I pass the hand, good luck (and courage) for the challenger to find the solution. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-15 Thread fredvs
Hello code dz, hello everybody. Some news from the front. The problems come from fpc commit of Sven Barth on Jul 13 2019: "as attributes can be part of any type they are best suited in a common part of TTypeData" >From Graeme-Github:

Re: [MSEide-MSEgui-talk] Fonts

2019-08-10 Thread fredvs
Hello Med. > Do you have a better idea ? No. > By the way do you have any guide about mse class Nor really, I just look inside mse code. For classes, it is in: /mseide-msegui/lib/common/kernel/mseclasses.pas But maybe some doc exists, I do not know. > because I want to know if there is a

Re: [MSEide-MSEgui-talk] Fonts

2019-08-11 Thread fredvs
Hello Med. > The best solution is to update lib/common/msewidgets.pas line 3356 . Could you develop a little more? IMHO there is no bug, it was wanted. If you fix the code like you want (click on frame caption ---> select the object), it would be very difficult for people that do prefer the

Re: [MSEide-MSEgui-talk] Fonts

2019-08-13 Thread fredvs
Hello Med. > Afaik, clicking on frame.caption does the job. Do you mean you found the solution? If so, please, could you create a new topic "Set focus with frame.caption" (or something similar) and explain how to do. This for other people that have the same problem. Many thanks. Fre;D

Re: [MSEide-MSEgui-talk] DbFilter

2019-08-21 Thread fredvs
Hello Med. There ae some demos in https://github.com/mse-org/mseuniverse/tree/master/samples/db/dbfilter Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-21 Thread fredvs
Hello code dz, hello everybody. It seems that last commits of fpc... fix the problems. I did try rev 42753 of 21-08-2019 and all seems ok. I will do more test but if it is not a wrong compilation of fpc, it is a **VERY, VERY GREAT** news. I will remove all my fpc-work-directory and re-do it

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-21 Thread fredvs
> I will do more test but if it is not a wrong compilation of fpc, it is a > **VERY, VERY GREAT** news. Ooops, it was *VERY, VERY FAKE** news, I did compile a old source. With last fpc commit, the problems remain. ;-( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] DbFilter

2019-08-21 Thread fredvs
Hello Med. > Do you have any experience of managing filter and sql using Martin's > MseGui library Sorry but I did not jump yet into DB with msegui. I fear you will be the King of this area. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Source Code

2019-09-18 Thread fredvs
mohamed hamza wrote > Hello All, > > I Would like to know how to make some changes to mseide-msegui source in > particular part of generated code. > > For example : dataset event onbeforeopen generate Proc BeforeOpenEvt > ( dataset:Tdataset ) instead Proc BeforeOpenEvt ( const sender

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Hello code dz. Finally I did find a Windows machine. But it is with Windows 10. mseide compiled with fpc version 3.3.1 SVN trunk Rev 41903 32 bit is ok here on Windows 10. Also for the layout change. mseide_exe.zip In

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-07 Thread fredvs
> so the problem exist ! Yes, and **very** difficult to debug because no crash, no error message. I am curious how Lazarus will deal with fpc > 3.0.4. The last release of Lazarus (last week) still uses fpc 3.0.4. > the mseide.exe which is associated with *.prj files was located in an > old

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-07 Thread fredvs
> its new challenge ;) Yep but sadly I would not be disposable asap for this one. ;( 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] Fonts

2019-08-07 Thread fredvs
> would you like to try this small demo ( as Attn) With pleasure if you add demo.pas file that is missing in your Attn! Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Fonts

2019-08-07 Thread fredvs
Hello Med. It seems to me that you created a perpetual loop in your code. You assigned this to onpaint(): procedure tmainfo.paintGrEv(const sender: twidget; const acanvas: tcanvas); begin // this will be a perpetual loop because it will re-paint after the execution of the procedure

Re: [MSEide-MSEgui-talk] IDE

2019-08-01 Thread fredvs
Hello Med. Sorry but I did not find tdbgridwidget. Are you talking about tdbstringgrid ? For setting cfo_captionfocus to true by default there is in msewidgets.pas: const defaultcaptionframeoptions = []; You may change it as: const defaultcaptionframeoptions = [cfo_captionfocus]; But I do

Re: [MSEide-MSEgui-talk] IDE

2019-08-01 Thread fredvs
Re-hello. If you want the change only for one project, just copy msewidgets.pas with the changes into the main directory of your project. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-28 Thread fredvs
Hello Code DZ. > on the mailing list Sven posted new fix , did you try it ? seems more > compact Sven did help a lot. In last mse-org commit, all is fixed correctly, using the the right way and agreed by Sven. But for the code, I agree, it is not the most compact and nice it should be. It is

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-05 Thread fredvs
Hello code dz. > and every things works fine Magnificent! Have fun. 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] Compilation error with FPC 3.2.0

2019-08-06 Thread fredvs
Re-hello code dz. I did compile last (?) fpc trunk Rev 42482. Did compile mseide with it on Linux 64 bit. And now, like you explained, also on Linux 64, there are problems with view-layout. It is like fpc did change the behavior in file-list in directory. ;-( x 1000. Aaaargh + mama mia.

Re: [MSEide-MSEgui-talk] Fonts

2019-08-06 Thread fredvs
Hello Med. As work around, I would do this: - Add a ATLabel somewhere, set to autosize = true and visible = false. When you need to know the width of a character: ATlabel.font := theObject.frame.font; ATlabel.font.height := theObject.frame.font.height; ATlabel.font.width :=

Re: [MSEide-MSEgui-talk] Fonts

2019-08-06 Thread fredvs
> Suppose you have a simplewidget with bound_x=490, If you want to fill it's frame.caption with '-' > the number of chars must be 125 > then the width of char is 490/125=3,92 wich is not the width of the > font? Ha, ok,I see, it should work only with font with fixed width. Sorry

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-06 Thread fredvs
Re-re-hello code dz. It seems that the problems come from procedure tstatfile.readstat(const stream: ttextstream = nil); That method uses ttextstream that is THandleStream descendant. So maybe we have to check what fpc did change to THandleStream or one of his descendant in last commits. But

Re: [MSEide-MSEgui-talk] Fonts

2019-08-08 Thread fredvs
Hello Med. > so the only solution is oncreate form which is not so smart. Indeed, I would use oncreated vs oncreate. Maybe if you explain what you want to archive we can find better solution. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-08 Thread fredvs
Hello code dz. > why not using fpcupdeluxe > t's very simple and every time you build fpc it only update the changing > files Thanks but it s not really the problem. With Graeme's script, I can do it. Is it possible to install regression with fpcupdeluxe? That new bug is difficult to debug

Re: [MSEide-MSEgui-talk] Fonts

2019-08-08 Thread fredvs
Hello Med. I think that you can do that without changing anything in mse. With theobject.setfocus() + theform.onmouseevent(). You just have to know the area of frame.caption (but you know now how to get his height + width). Pseudo code: procedure tmainfo.onmouseev(const sender: twidget; var

Re: [MSEide-MSEgui-talk] Fonts

2019-08-09 Thread fredvs
Hello Med. Here demo of working focus-frame-caption: demo_focusframecaption.zip And here the video of the result: focus_framecaption.mp4

Re: [MSEide-MSEgui-talk] Fonts

2019-08-09 Thread fredvs
Hello Med. for i:= 0 to form1.childrencount - 1 do begin if form1.children[i] is twidgetgrid then if (ainfo.pos.x and . ) then twidgetgrid( form1.children[i].setfocus exit else PS: Not tested. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Fonts

2019-08-05 Thread fredvs
Hello Med. > How to get font width and height in pixels of an object.frame.caption ? If a font was assigned in object.frame.font: : fontwidth := object.frame.font.width; fontheight := object.frame.font.height; It the font assigned is , you should check for the font used by parent of the

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Hello. I did try with last fpc trunk on Linux 64 bit and all seems ok with last mse-org commits: Free pascal source checkout of https://svn.freepascal.org/svn/fpc/trunk at Sun Aug 4 10:18:27 UTC 2019 URL: https://svn.freepascal.org/svn/fpc/trunk Revision: 42577 Now for Windows and fpc trunk...

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-08 Thread fredvs
Hello code dz. The last release of CodeTyphon (20-Apr-2019 ) uses one the last working rev 3.3.1 of fpc: Rev 41903: https://www.pilotlogic.com/sitejoom/index.php/downloads/download/14-codetyphon/123-codetyphonins-zip What I like with CodeTyphon is that the install is out-of-the-box and does not

Re: [MSEide-MSEgui-talk] Fonts

2019-08-09 Thread fredvs
> PS: Not tested. This one yes! (replace in demo onmouseev with this): procedure tmainfo.onmouseev(const sender: twidget; var ainfo: mouseeventinfoty); var i : integer; begin if ainfo.eventkind = ek_clientmouseenter then begin for i := 0 to ChildrenCount - 1 do if (children[i] is

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Hello everybody. Sadly, the attempt to use fpc forum did not give lot of success: http://free-pascal-general.1045716.n5.nabble.com/TParamFlags-and-fpc-3-2-0-td5733871.html So finally, after a big fight, I did find a workaround. Now, if you create a method via the mse-designer the correct

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Ooops, in previous mail, please read (---> fpc 3.2.0, not fpc 3.0.4) : > So the question is: should I commit the changes to make mseide work when > compiled with fpc *3.2.0* ? (but without live- parameters-matcher). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Hello everybody. OK, I think it is ok now. You may compile mseide with fpc >= 3.1.0. The "live- parameters-matcher" is working too. I did test with trunk fpc 3.3.1. All the fixes are in last commit 44f515f. Test and comment about the commit are welcome. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Hello Roland, hello Code DZ. > where is the repository that contain the fix ? https://github.com/mse-org/mseide-msegui Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-26 Thread fredvs
> on the mailing list Sven posted new fix , did you try it ? seems more compact Yes, of course, I did try it. And have already sent a answer (that takes time to appears). To resume: it does not give the expected result. Imho, you may try how many combinations of filters with TParamsFlags, fpc

Re: [MSEide-MSEgui-talk] Source Code

2019-09-21 Thread fredvs
Re-Hello Med. > I did the fix ( August 2019 ) . Now compiling is fine! Huh, maybe you will say that you did apply the last commit of https://github.com/mse-org/mseide-msegui/ and all is ok now. If so, I am happy. But there are still problems with fpc 3.3.1 > revision 42375. Sorry but I

Re: [MSEide-MSEgui-talk] BufDataSet, tmsesqlquery

2019-09-26 Thread fredvs
Re-hello Med. Like explained earlier, I did not jump into mse-db yet. But if you add, in attachment, a simple example of what you want to show, it would be much easier for me to investigate. Fe;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataSet, tmsesqlquery

2019-09-26 Thread fredvs
Hello Med. > usDeleted: sender.rowcolorstate[arow]:= 2; <-- no break here > when I delete record ? What fpc version are you using? Do you have problems with fpc 3.0.2 / 3.0.4 too ? After a quick investigation, "usDeleted" is defined in

Re: [MSEide-MSEgui-talk] BufDataSet, tmsesqlquery

2019-09-26 Thread fredvs
Hello Med. > Try to test my prj OK, I did it. Hum, indeed, with your wishes, there should be a option in the navigator to only "mark as deleted" a row in the db-grid. (and not delete the row completely). But because Martin did add "updatestatus = usDeleted", sure there must be a trick to no

Re: [MSEide-MSEgui-talk] BufDataSet, tmsesqlquery

2019-09-26 Thread fredvs
Re-hello Med. It seems that it is a common problem with lot of databases: https://forum.lazarus.freepascal.org/index.php?topic=25153.0 https://stackoverflow.com/questions/7671205/statusfilter-on-clientdataset Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataSet, tmsesqlquery

2019-09-27 Thread fredvs
Re-hello Med. >> Error : abort delet in beforeDelete event > Sorry, I dont understand, please explain better. Ha, ok, I think I understood. With the trick to add a "Mark as deleted" field, you should NOT use the "Del" button of the mse-db-navigator. You should create a custom "Del" button

Re: [MSEide-MSEgui-talk] Source Code

2019-09-20 Thread fredvs
Hello Med. > I did the fix ( August 2019 ) . Now compiling is fine! Ha, ok, nice! Could you share your fix (so I can commit it to github)? Of course if you have a github account you are welcome to do a pull-request. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] BufDataSet, tmsesqlquery

2019-09-30 Thread fredvs
Hello Med. Of course you are more than welcome to contribute to make mse better. And dont hesitate to have your own Github account! Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Grid

2019-11-02 Thread fredvs
Hello Med. Nice that you have found a solution! By the way, I finally found how to deal with 2xclick on a cell. Here is how I do (maybe usefull for others) __ procedure agrid.oncellev(const Sender: TObject; var info: celleventinfoty); begin if (ss_double in

Re: [MSEide-MSEgui-talk] Grid

2019-11-02 Thread fredvs
fredvs wrote > Hello Med. > > Nice that you have found a solution! > > By the way, I finally found how to deal with 2xclick on a cell. > > ... Re-hello. Ooops, something was missing in previous code, here the good one: procedure agrid.oncellev(const Sender: TObject; var

Re: [MSEide-MSEgui-talk] Grid

2019-11-04 Thread fredvs
> Hello, > (ctrl+leftclick) does not select the curret row in case of > tdbwidgetgrid ? Are you talking about gridselectedrow sample? Here on Linux 64 it works. Imho, the sample works like this: if you do (ctrl+leftclick) on a cell it will switch selected/unselected. If the cell was

Re: [MSEide-MSEgui-talk] Grid

2019-11-04 Thread fredvs
fredvs wrote >> Hello, > >> (ctrl+leftclick) does not select the curret row in case of >> tdbwidgetgrid ? > > Are you talking about gridselectedrow sample? > > Here on Linux 64 it works. > > Imho, the sample works like this: if you do (ctrl+leftcli

Re: [MSEide-MSEgui-talk] Grid

2019-11-04 Thread fredvs
Re-re hello Med. For selected row I use a boolean column : "Selected". Here on the picture it is the "Mix" column. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Grid

2019-11-03 Thread fredvs
Ooops, my previous post was not saved... Here the content: > by way the example in ( mseuniverse\samples\db\gridselectedrow\) > works only when the grid is a tdbstringgrid and not for a tdbwidgetgrid. Hum, indeed, if adding in the sample: --- procedure tmainfo.oncellev(const sender:

Re: [MSEide-MSEgui-talk] Grid

2019-11-03 Thread fredvs
Re-hello. OK, I get it, adding "msegridsglob" in uses section in main.pas does the trick. It compiles and the oncellevent() for 2 x click works perfectly. So, for me, tdbstringgrid works like tdbwidgetgrid. What problem did you find? Fre.D -- Sent from:

Re: [MSEide-MSEgui-talk] Grid

2019-11-03 Thread fredvs
> by way the example in ( mseuniverse\samples\db\gridselectedrow\) works only when the grid is a tdbstringgrid and not for a tdbwidgetgrid. Hum, indeed, if adding in the sample: --- procedure tmainfo.oncellev(const sender: TObject; var info: celleventinfoty); begin if (info.eventkind

Re: [MSEide-MSEgui-talk] Translations of MSE on other languages

2019-11-06 Thread fredvs
Hello Graeme. > I really do not understand why MSEide+MSEgui's translations are so > complex. There are *.pas, *.csv, *.trd, *.trp, *.pot and *.po files! What is complex is mse-i18n (the application). It allows to do much more than translation, via the i18n libraries generated, transforming your

Re: [MSEide-MSEgui-talk] Field Mapping

2019-11-08 Thread fredvs
Hello Med. I would be glad to help you but it was long time ago when I worked with FB3 and I cannot find time to re-jump into that. I hope somebody else will help you. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-18 Thread fredvs
> Great news: with last commit in fpc 3.3.1 trunk, all seems to be ok now. Oops, sorry, fake news. It was my mistake, I did compile with fpc 3.0.4. So, no, with last commits, it does not fix the problems. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-18 Thread fredvs
Hello everybody. Great news: with last commit in fpc 3.3.1 trunk, all seems to be ok now. Testers are highly welcome. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Translations of MSE on other languages

2019-10-16 Thread fredvs
Re-hello. > But I get that all resources are locked. All the resources were saved, just before the "putch" here: I did begin to translate into Spanish but it s not complete. https://github.com/fredvs/mseide-msegui/tree/master/lib/common/mseconstslang https://github.com/fredvs/

Re: [MSEide-MSEgui-talk] Translations of MSE on other languages

2019-10-16 Thread fredvs
siflex are for the programs mseide and mselang. If you want to contribute, the language files (constants) for msegui are in mseide-msegui/lib/common/mseconstslang/ There is also the msegui-mseide project with extended language features here: https://github.com/fredvs/mseide-msegui Fre;D -- Sent from: http://

Re: [MSEide-MSEgui-talk] Translations of MSE on other languages

2019-10-16 Thread fredvs
fredvs wrote > Re-hello. > >> But I get that all resources are locked. > > All the resources were saved, just before the "putch" here: > I did begin to translate into Spanish but it s not complete. > > https://github.com/fredvs/mseide-msegui/tree/maste

Re: [MSEide-MSEgui-talk] Cursor keys don't work

2019-10-17 Thread fredvs
Hello. > But I can't move cursor up, down, PgUp, PgDn. I cannot reproduce it, sorry. Did you try with the "official" msegui?: https://github.com/mse-org/mseide-msegui Also, could you try with the binary-release of mseide from Martin?

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-10 Thread fredvs
Hello Seighard. > And I'v ro cicede that I'm just now too busy with other projects to even > look over any such problems, even the zip-file problem you informed me > - sorry. No problems, me too I am very busy and can give only counted time! It is why I add here some of my investigations, so I

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-09 Thread fredvs
Hello everybody. I did try deeply mse-gui + mse-ide with fpc 3.2.0 beta: https://svn.freepascal.org/svn/fpc/branches/fixes_3_2/ Till now, I did not find any problems and there are good news, the compiled-binary is +- 10 % less big than the same code compiled with fpc 3.0.4. But for fpc

Re: [MSEide-MSEgui-talk] Copy full path of current file to clipboard

2019-10-12 Thread fredvs
> but the statusbar way will do just fine. Ha, ok, perfect. 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   >