Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-30 Thread Michael Schnell
On 09/27/2013 06:53 PM, Graeme Geldenhuys wrote: The bad news ... What we always do for complex (and free running) CGI applications is do a miniature CGI program that is perfectly normal and does implements nothing but a communication with a Daemon / Service that always runs and does the

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Dariusz Mazur
On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program on relative path code program p; uses u1 in '..\..\test\u1.pas'; begin ...

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile units, which are include in program

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread patspiper
On 30/09/13 18:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't recompile

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Dariusz Mazur
On 2013-09-30 17:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur dar...@emadar.com wrote: Hi I've noticed than lazarus (1.0.12) don't

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 18:26:41 +0300 patspiper patspi...@gmail.com wrote: On 30/09/13 18:13, Mattias Gaertner wrote: On Mon, 30 Sep 2013 16:35:30 +0200 Dariusz Mazur dar...@emadar.com wrote: On 2013-09-27 17:03, Mattias Gaertner wrote: On Fri, 27 Sep 2013 16:59:04 +0200 Dariusz Mazur

Re: [Lazarus] LazReport

2013-09-30 Thread Hew Lines
Reinier that is part of the problem. I have no code ! I am trying to use the TfrUserDataSet control which, according to all documentation I have, should allow me to use a string array or string list as the data source for a report. However, I am unable to get started. I have no idea how to

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 19:10:54 +0300 patspiper patspi...@gmail.com wrote: [...] Should lfm's be added to projects and packages? You don't need to add lfm files to projects. Add them to packages. You can add a feature request to let the IDE check lfm files for packages. Is it OK if include

Re: [Lazarus] LazReport

2013-09-30 Thread Michael Schneider
Am Monday 30 September 2013 18:10:35 schrieb Hew Lines: Reinier that is part of the problem. I have no code ! I am trying to use the TfrUserDataSet control which, according to all documentation I have, should allow me to use a string array or string list as the data source for a report.

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread patspiper
On 30/09/13 19:53, Mattias Gaertner wrote: On Mon, 30 Sep 2013 19:10:54 +0300 patspiper patspi...@gmail.com wrote: [...] Should lfm's be added to projects and packages? You don't need to add lfm files to projects. Add them to packages. You can add a feature request to let the IDE check lfm

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 20:25:03 +0300 patspiper patspi...@gmail.com wrote: On 30/09/13 19:53, Mattias Gaertner wrote: On Mon, 30 Sep 2013 19:10:54 +0300 patspiper patspi...@gmail.com wrote: [...] Should lfm's be added to projects and packages? You don't need to add lfm files to

Re: [Lazarus] How many characters fit in a TEdit?

2013-09-30 Thread Hans-Peter Diettrich
Bart schrieb: Is it possible to determine how many characters fit in a TEdit (at runtime), given that the choosen font is of fixed pitch (like Courier). Example: TEdit: Width = 300 Font; Courier New, Size=16 TEdit.GetTextWidth() does not help here, it returns 16 for any font and size (because

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread patspiper
On 30/09/13 20:50, Mattias Gaertner wrote: On Mon, 30 Sep 2013 20:25:03 +0300 patspiper patspi...@gmail.com wrote: The problem is with include files that hold for example global defines and is used by several packages. That's not a problem. There are at least two solutions: Solution 1:

Re: [Lazarus] unit on relative path is not recompile

2013-09-30 Thread Mattias Gaertner
On Mon, 30 Sep 2013 22:34:14 +0300 patspiper patspi...@gmail.com wrote: [...] General guidelines: - The project/package directory is implicitly added to the Other unit files (-Fu) of that project/package. yes - Always add the directories of added units to the project/package to the Other

Re: [Lazarus] LazReport

2013-09-30 Thread Hew Lines
Many thanks Michael. I suspect this is exactly what I was looking for. Hew On 2013-09-30 10:07 AM, Michael Schneider wrote: Am Monday 30 September 2013 18:10:35 schrieb Hew Lines: Reinier that is part of the problem. I have no code ! I am trying to use the TfrUserDataSet control which,

Re: [Lazarus] LazReport

2013-09-30 Thread Hew Lines
Michael .. Thanks very much. This was EXACTLY what I needed. I have everything working as I wanted now. Thanks so much for your help. Regards Hew On 2013-09-30 10:07 AM, Michael Schneider wrote: Am Monday 30 September 2013 18:10:35 schrieb Hew Lines: Reinier that is part of the