Re: [lazarus] RTF backend for FPDoc.

2007-05-21 Thread Michael Van Canneyt
On Sun, 20 May 2007, Andrew Haines wrote: Michael Van Canneyt wrote: On Tue, 15 May 2007, Andrew Haines wrote: Michael Van Canneyt wrote: The generated RTF is linear, i.e. it is suitable for printing. In order to create a .hlp file or a .chm file, some changes will be

[lazarus] New TThemeServices class

2007-05-21 Thread Graeme Geldenhuys
Hi, I understand the TThemeServices class from the original QThemes project. Under Windows XP in hooked into the uxthemes dll to do the painting or something. Under other platforms like Linux in used composite images. Does Lazarus support the later theming as well (composite images), or does

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Graeme Geldenhuys
Anybody else getting these? I got another Lazarus update today (r11171) and still get this problem. Here is another crash output from one of my applications - [EMAIL PROTECTED]:~/programming/MasterMaths/M2Browser_v3/Bin$

Re: [lazarus] New TThemeServices class

2007-05-21 Thread Paul Ishenin
Graeme Geldenhuys wrote: What does the TThemeServices class bring to the table for GTK1, GTK2 and Carbon interfaces? Didn't the they already work with the underlying themes? Painting of custom drawn controls like speedbutton. Paul.

Re: [lazarus] New TThemeServices class

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Paul Ishenin [EMAIL PROTECTED] wrote: Painting of custom drawn controls like speedbutton. Ah, thanks... -- Graeme Geldenhuys General error, hit any user to continue. _ To unsubscribe: mail [EMAIL PROTECTED]

Re: [lazarus] New TThemeServices class

2007-05-21 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, I understand the TThemeServices class from the original QThemes project. Under Windows XP in hooked into the uxthemes dll to do the painting or something. Under other platforms like Linux in used composite images. Does Lazarus support the later theming as well

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread A.J. Venter
So should I then assume that nobody else can/will help me figure out how to fix this ? I must admit that (even though I wrote [most of] the orriginal functions in the gtk interface) I have no clue why the newer compiler would break them. A.J. On 5/18/07, A.J. Venter [EMAIL PROTECTED] wrote: On

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 11:04:46 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: It means, there is a memory leak. I removed the exception. It should only give a warning. I gather you mean a memory leak in our application and not the

Re: [lazarus] Font color button stay always black

2007-05-21 Thread Mattias Gaertner
On Fri, 18 May 2007 15:28:52 +0200 fedorax [EMAIL PROTECTED] wrote: Hello, In my project i've some buttons whith font color clwhite but when i run project all buttons font color turn to black. In the ide when i change font color button the color change in the IDE but if i close the

[lazarus] GUITestRunner and nested tests

2007-05-21 Thread Graeme Geldenhuys
Hi, I gather that the GUITestRunner doesn't support nested tests in the Treeview? By that I mean, the Treeview wouldn't reflect the hierarchy of testsuites - it will only show three levels on nodes. Am I correct with this assumption? -- Graeme Geldenhuys ** General error, hit any user to

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I'm not sure where the mem leak is. Formerly the gtk interface did not check and simply freed the object, risking strange errors. OTOH the win32/64 intf only returns false and afaik no code checked the result, creating mem leaks and even

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 11:36:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I'm not sure where the mem leak is. Formerly the gtk interface did not check and simply freed the object, risking strange errors. OTOH the win32/64 intf

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Yes. Can you give the TStringGrid settings, so I can reproduce the bug? I'll create a test application and submit it as a bug report on Mantis. -- Graeme Geldenhuys ** General error, hit any user to continue. **

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 10:50:51 +0200 A.J. Venter [EMAIL PROTECTED] wrote: So should I then assume that nobody else can/will help me figure out how to fix this ? I must admit that (even though I wrote [most of] the orriginal functions in the gtk interface) I have no clue why the newer compiler

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread A.J. Venter
On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Mon, 21 May 2007 10:50:51 +0200 A.J. Venter [EMAIL PROTECTED] wrote: So should I then assume that nobody else can/will help me figure out how to fix this ? I must admit that (even though I wrote [most of] the orriginal functions in the

Re: [lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-21 Thread Tiziano_mk
Michael Van Canneyt wrote: On Sun, 20 May 2007, Lee Jenkins wrote: another line or appending to existing text already written such as this: Getting File: somefile.txt [=] 50% I hope that I explained my question well enough. Try to use the crt unit. It

Re: [lazarus] Font color button stay always black

2007-05-21 Thread vsnijders
- Original Message - From: Mattias Gaertner [EMAIL PROTECTED] On Fri, 18 May 2007 15:28:52 +0200 fedorax [EMAIL PROTECTED] wrote: Hello, In my project i've some buttons whith font color clwhite but when i run project all buttons font color turn to black. In the

Re: [lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-21 Thread Michael Van Canneyt
On Mon, 21 May 2007, Tiziano_mk wrote: Michael Van Canneyt wrote: On Sun, 20 May 2007, Lee Jenkins wrote: another line or appending to existing text already written such as this: Getting File: somefile.txt [=] 50% I hope that I

Re: [lazarus] GUITestRunner and nested tests

2007-05-21 Thread vsnijders
- Original Message - From: Graeme Geldenhuys [EMAIL PROTECTED] Date: Monday, May 21, 2007 11:27 am Subject: [lazarus] GUITestRunner and nested tests Hi, I gather that the GUITestRunner doesn't support nested tests in the Treeview? By that I mean, the Treeview wouldn't reflect the

Re: [lazarus] GUITestRunner and nested tests

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, you are wrong. Try to build lazarus\test\runtestsgui.lpi. Ummm... thanks I have a look how that was accomplished. BTW: Not sure if all tests where supposed to pass, but I ran the above mentioned test project and got 3 failures...

Re: [lazarus] GUITestRunner and nested tests

2007-05-21 Thread vsnijders
- Original Message - From: Graeme Geldenhuys [EMAIL PROTECTED] Date: Monday, May 21, 2007 1:13 pm Subject: Re: [lazarus] GUITestRunner and nested tests On 5/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, you are wrong. Try to build lazarus\test\runtestsgui.lpi. Ummm...

[lazarus] New features since Delphi 7...

2007-05-21 Thread Graeme Geldenhuys
Hi, Here is some interesting Delphi features I found title: New since Delphi 7... Anybody interested in implementing a few. At least FPC and Lazarus beat them to a few of those!! :-) New IDE features since Delphi 7 http://dn.codegear.com/article/34325 New VCL feature since Delphi 7

Re: New features since Delphi 7...

2007-05-21 Thread Graeme Geldenhuys
Oops. Sorry I swapped the first two links around Graeme. On 5/21/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Here is some interesting Delphi features I found title: New since Delphi 7... Anybody interested in implementing a few. At least FPC and Lazarus beat them to a few of

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Here is some interesting Delphi features I found title: New since Delphi 7... Anybody interested in implementing a few. At least FPC and Lazarus beat them to a few of those!! :-) New IDE features since Delphi 7 http://dn.codegear.com/article/34325 New VCL

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Michael Van Canneyt
On Mon, 21 May 2007, Graeme Geldenhuys wrote: Hi, Here is some interesting Delphi features I found title: New since Delphi 7... Anybody interested in implementing a few. At least FPC and Lazarus beat them to a few of those!! :-) New IDE features since Delphi 7

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread Felipe Monteiro de Carvalho
On 5/21/07, A.J. Venter [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ~]$ ppc386 -l Free Pascal Compiler version 2.3.1 [2007/05/08] for i386 Copyright (c) 1993-2007 by Florian Klaempfl 2.3.1 is a unstable compiler from trunk. From times to times the trunk get´s buggy. I would recomend that you

Re: [lazarus] GUITestRunner and nested tests

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, you are wrong. Try to build lazarus\test\runtestsgui.lpi. Thanks for this Vincent, I managed to get my Tests more organised! :-) -- Graeme Geldenhuys General error, hit any user to continue.

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: Class has an implicit pointer. record doesn't. But it already exists in FPC: an object (TP style). This IS a record with methods. Ah, so that is what a Object type is! I always wondered, but never did the trouble to read up on it. :-)

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Marc Weustink
Graeme Geldenhuys wrote: On 5/21/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: Class has an implicit pointer. record doesn't. But it already exists in FPC: an object (TP style). This IS a record with methods. Ah, so that is what a Object type is! I always wondered, but never did the

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Michael Van Canneyt
On Mon, 21 May 2007, Graeme Geldenhuys wrote: On 5/21/07, Marc Weustink [EMAIL PROTECTED] wrote: IIRC, in delphi 1 you couldn't mix classes and objects in the same unit. So you wouldn't use them. I've never used them before... :-) Always thought they were the same as a Class but in

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Marc Weustink
Michael Van Canneyt wrote: On Mon, 21 May 2007, Graeme Geldenhuys wrote: On 5/21/07, Marc Weustink [EMAIL PROTECTED] wrote: IIRC, in delphi 1 you couldn't mix classes and objects in the same unit. So you wouldn't use them. I've never used them before... :-) Always thought they were the

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Marc Weustink [EMAIL PROTECTED] wrote: The last time I tried (D6) it could. IIRC, the problem was that you had to specify the class/object a class/object is derived from. IE. TMyObject = object(TObject) TMyClass = class(TObject) However here you get a name clash, since it

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Lepidosteus
One thing I dislike is the poor abstract implementation. I don't see one good reason to let abstract class be instantiated... As for records with methods, they are required for delphi.net I think they have just translated it to native delphi They seems to have their uses, following is a

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Giulio Bernardi
New Delphi language features since Delphi 7... http://dn.codegear.com/article/34324 Looking at the New language features page I thought about two things: 1) This is one that I sometimes need: class members (static members in java IIRC), or class var - class property in the page provided.

Re: [lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-21 Thread Lee Jenkins
Lee Jenkins wrote: Hi all, I'm wondering how to emulate the static console output seen with some linux applications such as yum. More specifically, static output without going to another line or appending to existing text already written such as this: Getting File: somefile.txt

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread vsnijders
- Original Message - From: Giulio Bernardi [EMAIL PROTECTED] Date: Monday, May 21, 2007 6:16 pm Subject: Re: [lazarus] New features since Delphi 7... New Delphi language features since Delphi 7... http://dn.codegear.com/article/34324 Looking at the New language features page

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 11:58:38 +0200 A.J. Venter [EMAIL PROTECTED] wrote: On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Mon, 21 May 2007 10:50:51 +0200 A.J. Venter [EMAIL PROTECTED] wrote: So should I then assume that nobody else can/will help me figure out how to fix this ?

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Micha Nelissen
Mattias Gaertner wrote: I'm curious: Was there any feature, that FPC implemented first and was reimplemented by Borland in the same way? Perhaps operator overloading and inline ? But I think those have a .net origin, not fpc, for Borland. Micha

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Alexsander Rosa
Some of these new IDE features are sweet! http://dn.codegear.com/article/34323 2007/5/21, Graeme Geldenhuys [EMAIL PROTECTED]: Hi, Here is some interesting Delphi features I found title: New since Delphi 7... Anybody interested in implementing a few. At least FPC and Lazarus beat them to a few

[lazarus] Array of Buttons, OnClick how made to work

2007-05-21 Thread Carlos Avogaro
I have this in Delphi, and the event onClick, work perfect for xx do btnMenu[xx].Height := 25; btnMenu[xx].Left:= 15; btnMenu[xx].Width := 140; btnMenu[xx].Caption:= sqDataF.FieldByName('nombre').AsString; btnMenu[xx].Tag:=

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: They just gave it a different name. Only god knows why... I'm curious: Was there any feature, that FPC implemented first and was reimplemented by Borland in the same way? Can we take them to court for Patent Infringement or ask them for

Re: [lazarus] Array of Buttons, OnClick how made to work

2007-05-21 Thread Albert Zeyer
Use either {$MODE DELPHI} or ...OnClick := @BtnMenuClick. Am Montag, den 21.05.2007, 11:39 -0700 schrieb Carlos Avogaro: I have this in Delphi, and the event onClick, work perfect for xx do btnMenu[xx].Height := 25; btnMenu[xx].Left:= 15;

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Lee Jenkins
Graeme Geldenhuys wrote: Hi, Here is some interesting Delphi features I found title: New since Delphi New Delphi language features since Delphi 7... http://dn.codegear.com/article/34324 Would anyone mind explaining this to me? I don't get it. Routines can now be marked with the inline

Re: [lazarus] Array of Buttons, OnClick how made to work

2007-05-21 Thread Carlos Avogaro
It's work!!! Thank you, Albert Albert Zeyer [EMAIL PROTECTED] wrote: Use either {$MODE DELPHI} or ...OnClick := @BtnMenuClick. Am Montag, den 21.05.2007, 11:39 -0700 schrieb Carlos Avogaro: I have this in Delphi, and the event onClick, work perfect for xx do

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Graeme Geldenhuys
On 5/21/07, Lee Jenkins [EMAIL PROTECTED] wrote: Would anyone mind explaining this to me? I don't get it. Routines can now be marked with the inline directive. This tells the compiler that, instead of actually calling the routine, it should emit code that includes the routine at the call

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Micha Nelissen
Lee Jenkins wrote: Routines can now be marked with the inline directive. This tells the compiler that, instead of actually calling the routine, it should emit code that includes the routine at the call site. http://en.wikipedia.org/wiki/Inline_expansion Micha

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Michael Van Canneyt
On Mon, 21 May 2007, Graeme Geldenhuys wrote: On 5/21/07, Lee Jenkins [EMAIL PROTECTED] wrote: Would anyone mind explaining this to me? I don't get it. Routines can now be marked with the inline directive. This tells the compiler that, instead of actually calling the routine, it

[lazarus] Sample of Daemon (Service) Application...

2007-05-21 Thread Liyuan Garcia Caballero
Hi people. I need one sample of how buid a daemon or service application with lazarus 0.9.23 Thank, you. -- *Liyuán García Caballero* Especialista B en Ciencias Informáticas *Excelencia en Software* Desoft en Ciego de Ávila. Circunvalación Norte Esq. Ave. Las Palmas. Ciego de Ávila.

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Flávio Etrusco
On 5/21/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 5/21/07, Marc Weustink [EMAIL PROTECTED] wrote: IIRC, in delphi 1 you couldn't mix classes and objects in the same unit. So you wouldn't use them. I've never used them before... :-) Always thought they were the same as a Class but in

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Flávio Etrusco
On 5/21/07, Lepidosteus [EMAIL PROTECTED] wrote: One thing I dislike is the poor abstract implementation. I don't see one good reason to let abstract class be instantiated... Totally agreed. And I'd like it so much if FPC would allow one to declare a class 'abstract' even if it didn't contain

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Lee Jenkins
Micha Nelissen wrote: Lee Jenkins wrote: Routines can now be marked with the inline directive. This tells the compiler that, instead of actually calling the routine, it should emit code that includes the routine at the call site. http://en.wikipedia.org/wiki/Inline_expansion Neat.

Re: [lazarus] Sample of Daemon (Service) Application...

2007-05-21 Thread A.J. Venter
There is a complete sample daemon in the linux demo apps for fpc. One hint: if you use lazarus for your ide you must choose commandline ap as your project type or your daemon will end up not being able to start at boot time (linked against libs that can only start under x11). Sorry no idea how

Re: [lazarus] Linux WriteLn - Staionary Output - how is done?

2007-05-21 Thread A.J. Venter
CRT is one way but rather relies on using the whole console. Anyway ncrt is safer. Sounds like you need something like this: uses ncrt; ... write('i wrote this code'); window(1,wherey,80,wherey); clrscr; write('on my phone from memory'); Hope that helps. On 5/21/07, Lee Jenkins [EMAIL

Re: [lazarus] RTF backend for FPDoc.

2007-05-21 Thread Andrew Haines
Michael Van Canneyt wrote: I have finished converting a LGPL'd lzx compressor to pascal and emailed the author to see if it can be released under fpc's modified LGPL. Good news. Is there some kind of reference for the TOC page that would need to be generated for .chm ? Hi from this

[lazarus] Remobjects Supports Freepascal?

2007-05-21 Thread Lee Jenkins
This is very welcome news for me. http://www.remobjects.com/product/page.asp?id={E1DB912D-BD45-4B74-9AC4-550E3CD3738F} -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: [lazarus] Remobjects Supports Freepascal?

2007-05-21 Thread Bisma Jayadi
This is very welcome news for me. http://www.remobjects.com/product/page.asp?id={E1DB912D-BD45-4B74-9AC4-550E3CD3738F} I just knew that someday there will be more and more Delphi component providers support FPC/Lazarus due to active development of FPC/Lazarus and lack of Borland/CG interest