Re: [lazarus] Someone can test this patch?

2007-02-06 Thread Vincent Snijders
Guadagnini David schreef: The version for this patch is 0.9.20 It would be best to create a patch against that version. Follow the following steps. - Get lazarus 0.9.20 from svn: svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_0_9_20 c:\lazarus-0.9.20 - copy your changed files

[lazarus] TLabel.OnPaint

2007-02-06 Thread Vincent Snijders
Hi, At this moment TGraphicControl.OnPaint is a public property. I am thinking about publishing in some descendants like TShape. At the same time I think it is better to make TGraphicControl.OnPaint a protected property. If this is done, TLabel.OnPaint is not public anymore. Is anybody

Re: [lazarus] TLabel.OnPaint

2007-02-06 Thread Guadagnini David
TLabel have not OnPaint property. If you want you can add this but you must modify the component TCustomLabel Vincent Snijders ha scritto: Hi, At this moment TGraphicControl.OnPaint is a public property. I am thinking about publishing in some descendants like TShape. At the same time I

Re: [lazarus] TLabel.OnPaint

2007-02-06 Thread Vincent Snijders
Guadagnini David schreef: TLabel have not OnPaint property. If you want you can add this but you must modify the component TCustomLabel It has. This code is possible with Lazarus. procedure TForm1.Button1Click(Sender: TObject); begin Label1.OnPaint := nil; end; Vincent Snijders ha

[lazarus] my .net, 3D, Robotics and pascal bookmarks/favorites

2007-02-06 Thread George Birbilis
http://www.zinkmo.com/Public.aspx?uid=931320D41B7E0794 Have been looking for long time now for a good bookmark sync (between browsers and machines) and publish (+remote collaboration on editing/adding bookmarks) service and I think I have found it at Zinkmo! Published (for now) my .NET, 3D,

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 08:47:07 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi Mattias, I looked at the changes you made to see what I did wrong. I see you use the TreeView's OnAdvancedCustomDraw instead of OnCustomDraw. OnCustomDrawItem It still doesn't make sense to

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Graeme Geldenhuys
On 2/6/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I looked at the changes you made to see what I did wrong. I see you use the TreeView's OnAdvancedCustomDraw instead of OnCustomDraw. OnCustomDrawItem Ah yes, sorry. I meant the DrawItem events. Do you want to

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Graeme Geldenhuys
On 2/6/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: In TCustomTreeView.DoPaintNode() on line 4125 and on line 4201it fires off the OnCustomDrawItem event! Why twice in the same method (DoPaintNode)? Shouldn't this occur only once? This could account for all the 'repaint flicker' that

[lazarus] lazarus saves every time I compile

2007-02-06 Thread Andrea Mauri
Lazarus saves my project every time I compile it. I open an existing project, I modify it, I compile it, I close the project without saving it and saying to lazarus, when it asks me, that I don't want to save. The project is saved anyway with the modifications. Lazarus last svn on winxp. I'm

Re: [lazarus] Behavior of ContextMenu

2007-02-06 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: I fixed the double fire of MouseUp event when using right mouse button under win32. See http://www.freepascal.org/mantis/view.php?id=8276. But one issue remained. If the Shift-F10 key is used both

RE: [lazarus] lazarus saves every time I compile

2007-02-06 Thread George Birbilis
I close the project without saving it and saying to lazarus, when it asks me, that I don't want to save. The project is saved anyway with the modifications. What modifications? Maybe they mean the project itself, not the source files themselves. That is add/remove files from the

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Andrea Mauri
Ok in order to compile it needs to save my project but look at this example: I open an existing project, a very simple console application: program project1; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes { add your units here }; begin end.

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Al Boldi
Andrea Mauri wrote: My problem is, I have a big project, with many units, I make a lot of modifications daily, I want to test if everything works as I want, so I compile my project many times in a day. I don't want that lazarus saves my project every time I compile it and I don't want to

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Vincent Snijders
Andrea Mauri schreef: Ok in order to compile it needs to save my project but look at this example: I open an existing project, a very simple console application: program project1; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes { add your

Re: [lazarus] Behavior of ContextMenu

2007-02-06 Thread Luiz Americo Pereira Camara
Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: I fixed the double fire of MouseUp event when using right mouse button under win32. See http://www.freepascal.org/mantis/view.php?id=8276. But one issue remained. If the

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Andrea Mauri
ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to restore the saved files? thanks, andrea Vincent Snijders wrote: Andrea Mauri schreef: Ok in order to compile it needs to save my project

Re: [lazarus] Behavior of ContextMenu

2007-02-06 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: I fixed the double fire of MouseUp event when using right mouse button under win32. See http://www.freepascal.org/mantis/view.php?id=8276. But

Re: [lazarus] TXMLDocument from string

2007-02-06 Thread [EMAIL PROTECTED]
Mattias Gaertner schreef: On Tue, 16 Jan 2007 19:42:32 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: There is http://sourceforge.net/project/showfiles.php?group_id=92177package_id=138755 It seems to be quite old: 2005-05-26. A new set is available on:

[lazarus] Little bug using refactoring

2007-02-06 Thread Guadagnini David
If I write a function like this: Function MyFunction(Value : Boolean) : Boolean; Begin Result := Not Value; End; Now, if I go with the cursor on line Result := Not Value and select Refactoring-Complete code (the 1st option) the result is Function MyFunction(Value : Boolean) : Boolean; Var

Re: [lazarus] TBitmap.ScanLine - API Propose

2007-02-06 Thread Luiz Americo Pereira Camara
Mattias Gaertner wrote: On Mon, 05 Feb 2007 09:52:50 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: - Should i implement GetCurrentObject? IMO it would be better to improve TBitmap. Currently TBitmap uses GetObject, so

Re: [lazarus] Behavior of ContextMenu

2007-02-06 Thread Luiz Americo Pereira Camara
Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: I fixed the double fire of MouseUp event when using right mouse button under win32. See

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Felipe Monteiro de Carvalho
On 2/6/07, Andrea Mauri [EMAIL PROTECTED] wrote: ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to restore the saved files? That doesn't seam a nice way to do things. Maybe you could write

RE: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Pieter Valentijn
I would sugest a extra folder with the checked source and sync them manualy with a program like winmerge http://winmerge.org/ or simular tool to save your files that you changed. (or if cource revert your changes in your working folder). Met vriendelijke groet, Pieter Valentijn Delphidreams

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 13:55:18 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 2/6/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: In TCustomTreeView.DoPaintNode() on line 4125 and on line 4201it fires off the OnCustomDrawItem event! Why twice in the same method (DoPaintNode)? Shouldn't

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 13:51:23 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 2/6/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I looked at the changes you made to see what I did wrong. I see you use the TreeView's OnAdvancedCustomDraw instead of OnCustomDraw. OnCustomDrawItem

[lazarus] Qt tray icon implementation patch

2007-02-06 Thread Felipe Monteiro de Carvalho
Hello, This patch adds a initial TTrayIcon implementation for Qt interface. qttrayicon.pas is a new file to be added to components/trayicon thanks, -- Felipe Monteiro de Carvalho Index: components/trayicon/wstrayicon.pas === ---

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 17:06:08 +0300 Al Boldi [EMAIL PROTECTED] wrote: Andrea Mauri wrote: My problem is, I have a big project, with many units, I make a lot of modifications daily, I want to test if everything works as I want, so I compile my project many times in a day. I don't want that

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 17:36:16 +0100 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 2/6/07, Andrea Mauri [EMAIL PROTECTED] wrote: ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to

Re: [lazarus] Behavior of ContextMenu

2007-02-06 Thread Mattias Gaertner
On Tue, 06 Feb 2007 13:55:28 -0200 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: I fixed the double fire

Re: [lazarus] TBitmap.ScanLine - API Propose

2007-02-06 Thread Mattias Gaertner
On Tue, 06 Feb 2007 13:29:21 -0200 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 05 Feb 2007 09:52:50 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: - Should i implement GetCurrentObject?

[lazarus] Help wanted: New design for lazarus snapshot pages

2007-02-06 Thread Vincent Snijders
Hi, Currently there are 19 files available for download on the Lazarus snapshot download page at http://michael-ep3.physik.uni-halle.de/Lazarus/ or http://www.hu.freepascal.org/lazarus/. In the near future this will rise to at least 30 by the offering of cross-installer (for win32 - win64 or

[lazarus] can not create datamodule

2007-02-06 Thread airmanena -
i'm new in lazarus, i have one problem when i create datamodule. i have one project file and the program is running well, but when i add new datamodule there is always show error message Access Violation. i'm very tired about that. beside that i need create a datamodule for complety my project.

Re: [lazarus] Help wanted: New design for lazarus snapshot pages

2007-02-06 Thread tanila
Hi Vincent, I did some lists that are able to collapse/open in HTML/CSS,JavaScript and PHP. If you give a little more details on the structure, I could give you an example. If you like I could do the work for you, too. regards Tanila

Re: [lazarus] can not create datamodule

2007-02-06 Thread budip
i had using lazarus 0.9.21, and i think this's not any problems.. Budi p - Original Message - From: airmanena - i'm new in lazarus, i have one problem when i create datamodule. i have one project file and the program is running well, but when i add new datamodule there is

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Graeme Geldenhuys
On 2/6/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Technically there should be flickering, but I don't see it. Can you give an example? I don't know how else to give an example, other that explain what I do, so here goes. If I compile a project that generates lines in the Messages Windows

[lazarus] TScreen TCursor

2007-02-06 Thread Dave Coventry
Hi, Is it possible to define a custom cursor in a cross-platform way? -- Dave Coventry Tel (home): +27(0)31 3092301 Tel (office): +27(0)31 3092301 Cell: +27(0)82 3685983 _ To unsubscribe: mail [EMAIL PROTECTED] with