Re: [lazarus] Running a project always performs compile and link sequence

2005-12-08 Thread Yoyong Hernan
Mattias Gaertner wrote: On Wed, 7 Dec 2005 17:28:50 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] Better spend

[lazarus] $I include files

2005-12-08 Thread Graeme Geldenhuys
Hi, Is there a easy way in Lazarus to move code out of a unit into a include file and then insert the $I in the originating unit? At the moment I create a new text file for the Interface section, cut and paste the code. Manually insert the {%MainUnit ...} line in the new include file. Then

[lazarus] Re: Lazarus website on Subversion

2005-12-08 Thread Felipe Monteiro de Carvalho
Michael A. Hess wrote: It is fine if someone wants to use gmane but I don't support it so I don't supply information on how to use it. Can you explain what are the possible problems / drawbacks of adding information about gmane? I can see many advantages, but I fail to see any problems.

Re: [lazarus] Turbocash may need Lazarus programmers

2005-12-08 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, George Lober wrote: An interesting article at: http://www.tectonic.co.za/view.php?id=756 Saying, quote: ?We are looking for Python or Lazarus programmers. We have not yet decided on the final environment. The database will most likely be Firebird or MySQL,? what a

Re: [lazarus] TListView Questions

2005-12-08 Thread Marc Weustink
George Lober wrote: George Lober wrote: Andrew Haines wrote: George Lober wrote: Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you

[lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Hi I noticed today that BreakPoints don't work anymore in 0.9.11 on Windows. Not sure about other platforms. Nightly's downloaded: lazarus-0.9.11-20051122 lazarus-0.9.11-20051207 I double checked, and it does work in 0.9.10 I know 0.9.11 is the unstable version, just thought I would

Re: some infos about TFileListBox, Zeos external commands.

2005-12-08 Thread SaintShakaJin
Can anybody help me? SaintShakaJin a écrit : Hello, It's a stupid question but I don't find how to configure the directory in a FileListBox. I haven't seen where I can precise it :( For Zeoslibs, anybody has installed it? I've read the wiki but with the cvs-version I can install zdbc.lpk

[lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Felipe Monteiro de Carvalho
Hello, I just needed to use Canvas.FrameRect and saw it is not working (both 0.9.10 and with a recent snapshot). It works on Delphi 5. DestCanvas.Brush.Color := clBlack; DestCanvas.FrameRect(ClientRect); It also works if I simply use WindowsAPI directly. FrameRect(DestCanvas.Handle,

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Micha Nelissen
Felipe Monteiro de Carvalho wrote: Also Windows.FrameRect is declared as: function FrameRect(hDC:HDC; var lprc:RECT; hbr:HBRUSH):longint; Will the compiler complaint about the middle parameter being var / const? Also I see lot´s of methods on intfbasewinapi.inc witch look like deadends.

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: Hello, I just needed to use Canvas.FrameRect and saw it is not working (both 0.9.10 and with a recent snapshot). It works on Delphi 5. DestCanvas.Brush.Color := clBlack; DestCanvas.FrameRect(ClientRect); It also works if I simply use WindowsAPI directly.

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Vincent Snijders
, just thought I would mention it for in case nobody noticed. Indeed, I didn't notice. They seem to work fine using the svn version and in lazarus-0.9.11-20051208. What do you mean by not working? Vincent. _ To unsubscribe

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Micha Nelissen
Felipe Monteiro de Carvalho wrote: function TWidgetSet.FrameRect(DC: HDC; const ARect: TRect; hBr: HBRUSH) : integer; begin Result:= Windows.FrameRect(DC; ARect: TRect; hBr); end; Also Windows.FrameRect is declared as: function FrameRect(hDC:HDC; var lprc:RECT; hbr:HBRUSH):longint; Will

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Michael Van Canneyt
On Thu, 8 Dec 2005, Micha Nelissen wrote: Felipe Monteiro de Carvalho wrote: function TWidgetSet.FrameRect(DC: HDC; const ARect: TRect; hBr: HBRUSH) : integer; begin Result:= Windows.FrameRect(DC; ARect: TRect; hBr); end; Also Windows.FrameRect is declared as: function

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Vincent Snijders wrote: Indeed, I didn't notice. They seem to work fine using the svn version and in lazarus-0.9.11-20051208. What do you mean by not working? I am downloading lazarus-0.9.11-20051208 to test. By not working, I meant that when I set a break point (red dot with ? in editor

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Micha Nelissen
Michael Van Canneyt wrote: Can the windows unit import the FrameRect winapi function with const parameter instead of var ? AFAIK, windows does not modify the used rect, it's just passed as a pointer. No. Adding 'Const' does NOT automatically imply passing it by reference. Also not for

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Micha Nelissen
Michael Van Canneyt wrote: Not unless you use a pointer. Maybe using a pointer would work, then ? Yes. Can you add a pointer redef.inc entry for FrameRect then ? BTW: why are all functions imported using 'var' where possible ? I mean, these are C APIs, and they use pointers, and their

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Graeme Geldenhuys wrote: I will give another update as soon as I have the 0.9.11-20051208 version installed. Okay, the problem was the stupid user behind the keyboard!! Every time I upgraded to one of the unstable builds, I forgot to actually set the debugger in Environment - Debugger

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Simeon Mitev
don't you know the error: ID10T ? :) Graeme Geldenhuys wrote: Graeme Geldenhuys wrote: I will give another update as soon as I have the 0.9.11-20051208 version installed. Okay, the problem was the stupid user behind the keyboard!! Every time I upgraded to one of the unstable builds, I

Re: [lazarus] TCanvas.FrameRect not working

2005-12-08 Thread Michael Van Canneyt
On Thu, 8 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: Not unless you use a pointer. Maybe using a pointer would work, then ? Yes. Can you add a pointer redef.inc entry for FrameRect then ? I can. BTW: why are all functions imported using 'var' where possible ? I

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Lv wrote: The Kylix and old BP7 debuggers we used to use are just great and very responsive. It is to me the biggest weakness of Lazarus as Borland-like debuggers are essential for anyone who want to migrate to lazarus. I really miss the debug tooltips over variables. Also the tooltips

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Lv wrote: It would be great if the same ease of use can be implemented in Lazarus. I am sure it will in due time... If everybody keeps donating a bit of time to it, it will get there! I am new no Lazarus and Free Pascal, but so far I am very impressed at the speed things get done in Lazarus.

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Simeon Mitev wrote: don't you know the error: ID10T ? :) :-) I do now! G. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Vincent Snijders
Graeme Geldenhuys wrote: Lv wrote: The Kylix and old BP7 debuggers we used to use are just great and very responsive. It is to me the biggest weakness of Lazarus as Borland-like debuggers are essential for anyone who want to migrate to lazarus. I really miss the debug tooltips over

Re: [lazarus] Access violation

2005-12-08 Thread Michael Van Canneyt
On Thu, 8 Dec 2005, Arí Ricardo Ody wrote: Why the attached program issues access violation in the call of procedure LoadDirFiles? I try to remove the TStringList parameter and the violation persists... May someone give me an explanation? You must create the stringlist first, before

Re: [lazarus] Access violation

2005-12-08 Thread Arí Ricardo Ody
Done! Thank you! At 14:53 8/12/2005, you wrote: On Thu, 8 Dec 2005, Arí Ricardo Ody wrote: Why the attached program issues access violation in the call of procedure LoadDirFiles? I try to remove the TStringList parameter and the violation persists... May someone give me an

Re: [lazarus] Some Gtk2 bugs, and Edit component bug

2005-12-08 Thread bobby
Mattias Gaertner wrote: On Thu, 08 Dec 2005 16:34:34 +0100 bobby [EMAIL PROTECTED] wrote: [...] Proposition 1: Automatically change the Target OS in Compiler Options to win32 when opening the project developed on Linux (you can't compile for Linux target on Windows anyway). Are

Re: [lazarus] $I include files

2005-12-08 Thread Michael Van Canneyt
On Thu, 8 Dec 2005, Mattias Gaertner wrote: On Thu, 08 Dec 2005 10:36:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Is there a easy way in Lazarus to move code out of a unit into a include file and then insert the $I in the originating unit? At the moment I create a

Re: [lazarus] A little correction

2005-12-08 Thread Mattias Gaertner
On Thu, 8 Dec 2005 19:07:01 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Thu, 8 Dec 2005, Arí Ricardo Ody wrote: At 14:53 8/12/2005, you wrote: (deleted text) Also, change your FIndFirst call so it actually uses the directory name: FileHandle :=

[lazarus] Speedbutton image shift after pushing

2005-12-08 Thread Martin Smat
Under win32 it is common that after pushing the speedbutton, the image is shifted one pixel down and right to make nicer effect of pushing. I would like to implement this behavior into LCL but I don't know if this behavior is used under Linux too. My question is: can I implement this directly in

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-08 Thread Luiz Americo Pereira Camara
Em Qui, 2005-12-08 às 02:24 -0600, Yoyong Hernan escreveu: I just updated my Lazarus copy now and it is not compiling everytime I run the project. Thanks to everyone especially Mattias. Now bug 894 can be closed. Luiz _

Re: some infos about TFileListBox, Zeos external commands.

2005-12-08 Thread Prof. Paulo Amaral
Hi, About Zeos components, I installed in the WindowsXP, following Wiki steps and patchs. But I couldn't install in my Linux Debian. An Error occur. Did Anybody install? The executable binary code with Zeos in Windows is big. It is double size. I prefer Sqldb components. The compiled binary

[lazarus] Re: TCanvas.FrameRect not working

2005-12-08 Thread Felipe Monteiro de Carvalho
Michael Van Canneyt wrote: No. Adding 'Const' does NOT automatically imply passing it by reference. This used to be so in the initial versions of the compiler, but has been changed quite a while ago. But TRect is a structure. Everything I read from Delphi documentation states that calling

Re: [lazarus] Breakpoints not working

2005-12-08 Thread Graeme Geldenhuys
Vincent Snijders wrote: I am no Delphi user, but if I understand you correctly, then lazarus has this too, if you enable the option: Editor Options - Code tools - Automatic features - Tooltip expression evaluation (I hope I translated the captions correctly). Hi, It does sound like it will