Re: [Lazarus] Commenting.

2011-04-03 Thread Kjow
2011/4/2 Martin laza...@mfriebe.de: Now, supported in the latest svn. Folded code stays folded. However as long as a fold is in a comment (or otherwise preserved where it would have previously been unfolded), it will not be saved to your session. That means: - if you restart the IDE, while

Re: [Lazarus] MDI implementation

2011-04-03 Thread zeljko
Quoting Daniel Franzini daniel.franz...@gmail.com: Hi there. I'm trying to write a MDI application in Lazarus (Win32/Vista, Lazarus 0.9.31). MDI isn't yet supported on lazarus, but will be available soon. You can see progres at my todo list. http://wiki.lazarus.freepascal.org/User:Zeljan

Re: [Lazarus] UniqueInstance issue

2011-04-03 Thread Giuliano Colla
Luiz Americo Pereira Camara ha scritto: On 2/4/2011 15:18, Giuliano Colla wrote: In an application I'm currently developing, meant to run under RHEL5, I needed to ensure that no multiple instances were running, so I installed the UniqueInstance component:

Re: [Lazarus] UniqueInstance issue

2011-04-03 Thread Giuliano Colla
Giuliano Colla ha scritto: Luiz Americo Pereira Camara ha scritto: On 2/4/2011 15:18, Giuliano Colla wrote: In an application I'm currently developing, meant to run under RHEL5, I needed to ensure that no multiple instances were running, so I installed the UniqueInstance component:

Re: [Lazarus] Project / Save Project As ... - expected behavior?

2011-04-03 Thread Hans-Peter Diettrich
John Repucci schrieb: Is either of these procedures (move one file at a time or edit the lpi file) the way this should ideally work? I was expecting that Save Project As ... would allow me to clone the project so I could start a spin-off. Would Project / Publish Project do a clone? For

Re: [Lazarus] Lazarus config woes

2011-04-03 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Where can I find the documentation for the templates? There is not much to know: The secondary have obviously the same format as the primary configs. The values depends on version. They are human readable xml and you should not edit them manually. Use the IDE to

Re: [Lazarus] Lazarus config woes

2011-04-03 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: BTW, my experiments indicate that putting an environmentoptions.xml into the Lazarus directory (scp) will make the IDE use these settings, but only if there exists no config in the default location. The full config then is written back to the *default* location

Re: [Lazarus] Commenting.

2011-04-03 Thread Martin
://www.hu.freepascal.org/lazarus/ (links *without fixes e.g. Lazarus + fpc 2.4.2 win32 Lazarus-0.9.31-30142-fpc-2.4.2-20110403-win32.exe ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/Lazarus-0.9.31-30142-fpc-2.4.2-20110403-win32.exe The 64 bit snapshot seems missing at current. as for 32

Re: [Lazarus] MDI implementation

2011-04-03 Thread Daniel Franzini
Thank you, Peter. I already tried in Delphi and it works fine. I wanted to do this in Lazarus because I intended it to work in Linux too. But thanks anyway for the tip and the code. 2011/4/2 Peter Williams pewilliams2...@live.com Hi Daniel, -- Date: Sat, 2 Apr

[Lazarus] block completion for classes

2011-04-03 Thread Sven Barth
Hello together! Since some revisions I have noticed that Lazarus does not complete a class declaration anymore. E.g.: TTest = class| pressing Enter previously resulted in this: TTest = class | end; Was a config option changed/added for this or is this a bug? Information: rev. 30150;

Re: [Lazarus] MDI implementation

2011-04-03 Thread Peter Williams
Hi Daniel, Date: Sun, 3 Apr 2011 10:28:07 -0300 From: daniel.franz...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] MDI implementation Thank you, Peter. I already tried in Delphi and it works fine. I wanted to do this in Lazarus because I intended it to work in

Re: [Lazarus] block completion for classes

2011-04-03 Thread Graeme Geldenhuys
On 3 April 2011 17:12, Sven Barth pascaldragon@ wrote: pressing Enter previously resulted in this: TTest = class  | end; Was a config option changed/added for this or is this a bug? Isn't that just defined in Code Templates - something the developer can change themselves? I'm using

Re: [Lazarus] block completion for classes

2011-04-03 Thread Sven Barth
On 03.04.2011 18:59, Graeme Geldenhuys wrote: On 3 April 2011 17:12, Sven Barthpascaldragon@ wrote: pressing Enter previously resulted in this: TTest = class | end; Was a config option changed/added for this or is this a bug? Isn't that just defined in Code Templates - something the

[Lazarus] Application.Handle

2011-04-03 Thread Juha (gmail)
Hi Can Application.Handle be ported to Lazarus as Application.MainFormHandle? It is use for a plugin system: APlugin.Initialize(Application.Handle); Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] MDI implementation

2011-04-03 Thread Daniel Franzini
Hi Peter. I found this version to be newer. http://www.oocities.org/br/hipernetjr/lmdi/index_en.html It seems to work well, but needs further testing. 2011/4/3 Peter Williams pewilliams2...@live.com Hi Daniel, -- Date: Sun, 3 Apr 2011 10:28:07 -0300 From:

Re: [Lazarus] Application.Handle

2011-04-03 Thread Paul Ishenin
04.04.2011 0:06, Juha (gmail) wrote: Can Application.Handle be ported to Lazarus as Application.MainFormHandle? It is use for a plugin system: APlugin.Initialize(Application.Handle); Depends on your plugin needs. But I don't think so because they are different handles. better use:

Re: [Lazarus] MDI implementation

2011-04-03 Thread Peter Williams
Hi Daniel, I am getting now an error with the new version. I try to install it and it comes back with cannot find package LMDI (or possibly graph). Best Regards,Peter / pew Date: Sun, 3 Apr 2011 14:17:18 -0300 From: daniel.franz...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: Re: