Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread Patrick Goupell
On 2/13/20 8:34 PM, fredvs wrote: Afaik, the *_mfm.pas are not necessary. You may delete them, there are given only for convenience (?) when you do a "touch form". Fake news! *_mfm.pas ARE necessary. So, sorry, I dont know the purpose of the objdata: record size: integer; data: array that is

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread fredvs
Hello. In /mseide-msegui/tools/ there is form2pas.pas application. It says: program form2pas; //convert form files (*.mfm) to pascal files (*_mfm.pas) //commandline: form2pas FORMFILE[,UNITNAME] ... //Default UNITNAME is FORMFILE without extension. // //'form2pas main.mfm formdesigner.mfm' ->

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread fredvs
> Right click on a file in the file list (right > side of editor window) and click on "Show as form" This is enabled only if the 3 files are present. The same for "Touch form", if a .mfm or _mfm.pas is missing. By the way, do you know what is the goal of "Touch form" ? Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-14 Thread Graeme Geldenhuys
On 14/02/2020 3:12 am, fredvs wrote: > It works **very** well. > I could not resist too to commit it to ideU. > > Many wow and many thanks. Glad you liked it. :-) I implemented the same feature into Lazarus IDE some 14 years ago (wow, time flies!) as a add-on, and soon after it became standard

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread Graeme Geldenhuys
On 14/02/2020 1:34 am, fredvs wrote: >> Afaik, the *_mfm.pas are not necessary. >> You may delete them, there are given only for convenience (?) when you do >> a >> "touch form". > Fake news! > > *_mfm.pas ARE necessary. I remember I asked Martin if they were required, and his answer was

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-14 Thread fredvs
Hello Graeme. It was the only feature from Geany that was missing. And works very well. I did add a 2xclik in mouse event the ideU version, for those that have a broken keyboard. Hum, in your code: procedure tprocedurelistfo.AddProcedure(...) ... case Language of ltPas: ... ltCpp:

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread fredvs
Hello Graeme. Indisputably one of the best feature of fpGUI is his "all in one" file feature. Imho, the 3 files way is more heavy and if, by chance, you could find a way to unify all that files, I vote X 10.000 for it. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Procedure List add-on for MSEide

2020-02-14 Thread Graeme Geldenhuys
On 13/02/2020 11:36 pm, fredvs wrote: > Maybe you may add a oncellevent() method that jump into the source editor to > the line of the method that you 2xcliked. Ah, that was there - double checked with some old MSEide build I had. It must have gotten lost somewhere during the rebase or something.

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread fredvs
> Where do you see "Touch form"? Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread Patrick Goupell
On 2/14/20 1:51 PM, fredvs wrote: Right click on a file in the file list (right side of editor window) and click on "Show as form" This is enabled only if the 3 files are present. The same for "Touch form", if a .mfm or _mfm.pas is missing. By the way, do you know what is the goal of "Touch

Re: [MSEide-MSEgui-talk] The evil that is mfm

2020-02-14 Thread Sieghard
Hello Graeme, you wrote on Fri, 14 Feb 2020 17:45:34 +: > > *_mfm.pas ARE necessary. ... > I remember I asked Martin if they were required, and his answer was > technically no, because they are auto generated or something. So I once As I see it, they're (kind of) auto generated if you