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 mseide-

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 [2019/04/

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 tr

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-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 atta

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 https://lists.sourceforge.net/list

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 o

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
> 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 but

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 := theObject.frame.fon

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 how

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 bui

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 https://lists.sou

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 mseide-msegui-talk@lists

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 twidgetgrid(se

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 m

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 be

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

2019-08-08 Thread fredvs
Re-hello. One again the solution will come from Graeme. I will use his "unofficial mirror of the FPC SubVersion": https://github.com/graemeg/freepascal With Github I feel much more comfortable to download earlier commits. My only bemol: I have very difficult access to internet and a slow netbook

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

Re: [MSEide-MSEgui-talk] Fonts

2019-08-09 Thread fredvs
Hello Med. > In MouseEvent Procedure we have to search the object to setfocus to. Yes but if the objects dont move on the form, it will be easy to find the object to setfocus for. > I do not know the structure of ainfo does it contain the object > selected? No but you will know the positio

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: http://mseide-mseg

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 twidgetgri

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 com

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 act

Re: [MSEide-MSEgui-talk] Fonts

2019-08-12 Thread fredvs
Hello Med. > but I am sure that this code exists in msewidgets. because Yes, maybe (surely) code to make selection cliquing on frame.caption exists. But, sorry, I do not know how to do. The good news is that your are a frame.caption-guru now and I have no doubt that you will find the code! ;)

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] 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: https://github.com/graemeg/freepascal/commit/c85bef9b68db37ee5

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] 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 mseide-msegui-talk@lists.sourceforge.net

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 from

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

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

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 /mseide-msegui/lib/common/fpccompatibility/mdb.

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. > 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 d

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
Hello Med. > Add a calculated field to the dataset ( bdel) > Abort the deletion in afterdelete event of dataset > Set bDel field to true. Huh, it is exactly what I was thinking. If you have access the dataset and may add a new column/boolean: "Mark as deleted", this will be the best.

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] 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 mseide-msegu

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 3.3.1-tr

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] Copy full path of current file to clipboard

2019-10-12 Thread fredvs
Hello Graeme. > Does MSEide have such an option? Sorry but not sure to catch itt. What "current file" are you talking, the one edited in source-form? If so, in ideU, there is a hint if you pass the mouse on the tab, that shows the full path + size + date of the file. It will be easy to add a m

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 https://lists.sourceforge.net/lists/listinf

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

2019-10-16 Thread fredvs
or 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
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
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? https://sourceforge.net/projects/mseide-msegui/files/mseide

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 mseide-msegui-talk@lists.s

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] 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 info.mous

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-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: http://mseide-msegui-talk.13964.n8.n

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

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] 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/ ___ mseide-m

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

2020-01-10 Thread fredvs
Hello. I still do not find the cause of the problems of mse-statfile using last fpc 3.3.1 trunk. But after deep tests it appears that only mse-statfile is concerned with the problems, all other widgets are working perfectly. So my solution is to not use mse-statfile anymore but instead use the G

Re: [MSEide-MSEgui-talk] Missing shortcut in MSEide

2020-01-12 Thread fredvs
Hello Graeme. OK, I will check it. But, IMHO, Ctrl+Q shortcut is already used to close file in the source-editor. Would you be happy if Ctrl+X is used instead? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-ta

Re: [MSEide-MSEgui-talk] Missing shortcut in MSEide

2020-01-12 Thread fredvs
Hello Graeme. What version of mse are you using? Here, from https://github.com/mse-org/mseide-msegui, for exit, the shortcut Alt+x is assigned, you have to do Alt+f then Alt+x. But maybe you prefer to use Ctrl instead of Alt. A other thing that can be done is to add a independent main-menu-item

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

2020-01-13 Thread fredvs
Hello Roland. Thanks for the thanks! Some more infos about the mse-statfile problems with fpc 3.3.1 rev 2375 of Jul 13 2019. There is only one problem (I think): status of forms (size and position). All other widgets are correctly restored, even the data of the widgets. So if you absolutely wan

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

2020-01-13 Thread fredvs
> also load/save layout doesn't work Yes, it is because the main/only problem. The section "TForm" in the stat file is not well recognized. All the data about position, size, options, etc are not assigned to TForms. The strange thing is that for all other widgets (grid, tedit, tpanel, etc...) tha

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

2020-01-13 Thread fredvs
> also i noted tons of warnings during the compilation , i remember > martin said that mseide/msegui should compile without warnings . > if i get free time i would like to investigate and try fixing those > warnings Ho, it would be great! And maybe it will help to fix everything. Fre;D --

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

2020-01-13 Thread fredvs
>i don't know where's the layout is saved , project file orstatfile ? . Hello. This is what I understood (maybe I miss something): In mse-ide, when you load a layout, in fact you load a copy of the loaded project, that has also .prj as extension. But in the mse-ide layout-readstat() function,

Re: [MSEide-MSEgui-talk] Missing shortcut in MSEide

2020-01-15 Thread fredvs
Hello Graeme. I vote to set those shortcuts as more traditional (even that I highly respect out-of-the-road things). (And I will do it for ideU just now). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk ma

Re: [MSEide-MSEgui-talk] Missing shortcut in MSEide

2020-01-16 Thread fredvs
Graeme Geldenhuys wrote > On 16/01/2020 12:16 am, fredvs wrote: >> I vote to set those shortcuts as more traditional > > +1 > > Regards, > Graeme Indeed, FireFox, Gedit, Thunar ,.. do use Ctrl+Q to quit the application. By the way, how do you do to quit Lazarus with k

Re: [MSEide-MSEgui-talk] Missing shortcut in MSEide

2020-01-16 Thread fredvs
> By the way, how do you do to quit Lazarus with keyboard? Ha ok, it is Alt+F4 (but the main form must be focused). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sou

Re: [MSEide-MSEgui-talk] Cosmetic: bookmarks in editor gutter could be improved

2020-01-19 Thread fredvs
Hello Graeme. OK, I will (try to) fix it asap. 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-mseg

Re: [MSEide-MSEgui-talk] Cosmetic: bookmarks in editor gutter could be improved

2020-01-19 Thread fredvs
Hello Graeme. In last https://github.com/fredvs/ideU/commit/ there are new icons for bookmark (see bookmark_ideu.png) . <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/bookmark_ideu.png> I vote to use it for MSEide too. Fre;D -- Sent from: http://mseide-msegui-talk.13

Re: [MSEide-MSEgui-talk] Cosmetic: bookmarks in editor gutter could be improved

2020-01-19 Thread fredvs
> Also in the case of (1), it is rendered to the left and not 100% centred. Yes, it is because it can be a bookmark icon and a watchpoint at the same line. What can easy be done is to invert the position (left watchpoint, right bookmark) but centered will be a problem if both icons must appear. F

Re: [MSEide-MSEgui-talk] Cosmetic: bookmarks in editor gutter could be improved

2020-01-19 Thread fredvs
Re_hello. OK, reversed the position of bookmark icons, it looks better, imho. It was committed in ideU, I wait for the vote for MSEide. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

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

2020-01-20 Thread fredvs
Hello. If you use a azerty keyboard (French for example), to type a number, you have to do Shift+number. On Windows, you may use the Maj key enabled and then you only need to type the number alone. On Linux this Maj feature is not enabled by default. So you will have big problems, for example wi

Re: [MSEide-MSEgui-talk] Cosmetic: bookmarks in editor gutter could be improved

2020-01-21 Thread fredvs
Hello Graeme. Thanks to the big majority of positive votes for your propositions, it was committed it in 8b44425. https://github.com/mse-org/mseide-msegui/commit/ To resume: New bookmark icons and position. Added Ctrl+Q shortcut to quit application. Added Shift+Ctrl+N to set all bookmarks to non

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

2020-02-01 Thread fredvs
Hello everybody. Yep, I get it. I get the guilty and can fix it with a turn-around. >From rev 42375, in msegui function dynarrayelesize(const typinfo: pdynarraytypeinfo): sizeint; inline; the result is always = 0. This function is used in additempo() function, used mainly in the msestat.pas fil

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-08 Thread fredvs
Hello Roland. Graeme explained how to config implementation, it is done with project option Editor-Source. Now if you want a global default config for implementation, I can add it fast (after vote, of course). > Same question for the units declaration. I would like to have a space > after commas.

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-08 Thread fredvs
Re-hello. All those settings per project is great, it makes each project totally independent. But, imho, sometimes it is too much. Your indent-config is a good example, it should be (ones again imho) global and not per project. The same for the font used in editor, pair-word, etc... In ideU the

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-08 Thread fredvs
Hello Roland. > I am speaking if this: >uses > msetypes, mseglob, mseguiglob, >instead of this >uses > msetypes,mseglob,mseguiglob, Ha, are talking about the auto-parsed code when you create a mse form? If so, imho, there is no option for this. But Iwill take a look, maybe (surely) it could be

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-08 Thread fredvs
Hello Roland. Ok, added option in ideU to add a space after each comma ",". It was easy to implement. Note that it works only for new forms or new widgets or new components added. It does not have effect on all what was parsed before.

Re: [MSEide-MSEgui-talk] MSEide package for Mageia

2020-02-08 Thread fredvs
Hello. > I found a MSEide package for Mageia. > https://pkgs.org/download/mseide-msegui Did you try to install the package? It would be interesting to know what version of mseide-msegui Mageia is giving. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-08 Thread fredvs
Hello. Change committed in ideU: https://github.com/fredvs/ideU/commit/ab64b1741fee32e775aeca5f092d88f58d55cb51 Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk

Re: [MSEide-MSEgui-talk] MSEide package for Mageia

2020-02-08 Thread fredvs
Hello Roland. Ha, ok, I did see on www.developpez.net your post. Sorry I dont use Mageia, but you seem to be in good hands there in developpez.net. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing l

Re: [MSEide-MSEgui-talk] Chessboard example continued

2020-02-08 Thread fredvs
Hello Roland. > and handling of special moves (castling, en passant capture, promotion). Super! Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https:

Re: [MSEide-MSEgui-talk] MSEide package for Mageia

2020-02-08 Thread fredvs
Hello Roland. A rpm package (Redhat Package Manager) is used by all distros child of RedHat. Mageia is a fork of Mandriva that uses those rpm packages, like many others distros. Even with a Debian distro (that uses the deb packages) you may also install rpm package. So if you do a rpm package it

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
Hello Graeme. > but I think it would be nice (though probaly more work) to also still keep > the Per Project options. Huh, it is exactly what was done in ideU, you may choose or use the settings of the project or the global settings. And you may switch from one to other. Of course I did not tou

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
Hello Graeme. Like I explained before, I am totally open to incorporate ideU features to mseide. But I dont think it is ok to fork ideU into mseide. ideU is not "pure" msegui, it uses some fpGUI and Lazarus units and some code is used to make work fpGUI_designer_ext and sak assistive kit. I use

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
> Oh - I thought you found and fixes the issue. More or less the cause but not yet the fix: http://free-pascal-general.1045716.n5.nabble.com/Compatibility-problems-with-fpc-gt-3-3-1-rev-42375-td5734232i20.html#a5734851

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
> Then that sounds like the perfect solution to MSEide too. Yes it sounds but for that a new window must be implemented in mseide. Yes, it can be done of course (but not sure Martin will like it for mseide, it was already asked many time, without luck). Fre;D -- Sent from: http://mseide-

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
@Roland > About the msestat issue, could you make a minimal project that shows the > issue? You may test it with all projects that use a msestat file (kind of ini or json file). For example your msegui-chessboard is using a msestat file to store info about the filenames of images of black/white

Re: [MSEide-MSEgui-talk] Indentation and other settings

2020-02-09 Thread fredvs
@Roland It seems that it has something to do with a array length problem. If the number of forms and widgets > 1 it is like only the first row of the array is read. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegu

[MSEide-MSEgui-talk] New release of ideU with Code Beautifier ptop and Jedi.

2020-02-12 Thread fredvs
Hello everybody. I am happy to announce the release 1.9.8 of ideU. His has all the fixes and update asked + new Code Beautifier feature using ptop and Jedi. It uses the default config files but you may change it, they are in /ideu/plugin/ptop and /jcf. If there is people that uses Jedi and/or pt

Re: [MSEide-MSEgui-talk] New release of ideU with Code Beautifier ptop and Jedi.

2020-02-12 Thread fredvs
Oops, I forgot to give the link of ideU releases, it is here: https://github.com/fredvs/ideU/releases Have much lot of fun! Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk

Re: [MSEide-MSEgui-talk] New release of ideU with Code Beautifier ptop and Jedi.

2020-02-13 Thread fredvs
Hello Roland! > If you want to play with code formatters, there is another one here: > https://corpsman.de/index.php?doc=projekte/delforlaz For sure I will test it, thanks for the link. By the way I did a new repository of forked fpc ptop. https://github.com/fredvs/ptop That version has

<    2   3   4   5   6   7   8   9   10   11   >