Re: [lazarus] TOpendialog.InitialDir

2007-05-30 Thread Graeme Geldenhuys
On 5/30/07, Alain Michaud [EMAIL PROTECTED] wrote: the content is empty of course because it is not mounted! Would anyone know how to mount the floppy from inside the lazarus application? Doesn't the Linux 'automount' take care of that for you? Graeme.

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread A.J. Venter
It seems, gtk_pixmap is creating the disabled image on-the-fly on first paint. So, the flickering is built-in. Because you change the image often, you see it often. Conclusion: gtk1+TBitBtn+disabled = flicker So the short version is - that GTK1 couldn't do what I needed (a dynamically updated

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 10:34:45 +0200 A.J. Venter [EMAIL PROTECTED] wrote: It seems, gtk_pixmap is creating the disabled image on-the-fly on first paint. So, the flickering is built-in. Because you change the image often, you see it often. Conclusion: gtk1+TBitBtn+disabled = flicker So

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread A.J. Venter
gtk1+TBitBtn+disabled = flicker So the short version is - that GTK1 couldn't do what I needed (a dynamically updated but often disabled set of buttons with pictures on them) without creating a new component. Maybe you can try TSpeedButton instead of TBitBtn. That would only work if I

Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-30 Thread fedorax
Selon Joost van der Sluis [EMAIL PROTECTED]: On Sat, 2007-05-26 at 15:00 +0200, fedorax wrote: I've a strange bug. In this fonction ( Which was worked perfectly from few months an never chage ). -- procedure TFunc_Sql.List_TablesSelectionChange(Sender: TObject;

Re: [lazarus] Zeos Lib Question

2007-05-30 Thread Charl van Jaarsveldt
Lee, I had another look at this and found that Zeos is trying to use libsqlite.soto connect to sqlite3. So, I thought I'd change the code but then had endless trouble to recompile :-( and in my efforts to recompile I changed it back to what it was (lol). Anyways, in the end it was easiest to

[lazarus] Error: Undefined symbol

2007-05-30 Thread Roland Turcan
Hello lazarus project! During compilation of Lazarus after adding new units into component package I get this error message: C:\lazarus\ide\lazarus.pp(117,1) Error: Undefined symbol: RESOURCESTRINGLIST_MSGDLGS MSGDLGS.pas is my unit and I have set the path to that file in Package/Compiler

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/26/07, Tom Gregorovic [EMAIL PROTECTED] wrote: I have encoutered the same problem. Debugging from IDE does not function, because it's trying to debug the executable instead of app. bundle. Manually via terminal (command: gdb project.app) there is no problem. I tryed to debug an

[lazarus] Problem during build last release

2007-05-30 Thread Guadagnini David
During the build of the last release I have the follow error: C:\lazarus\components\lazreport\source\LR_Class.pas(72,1) Fatal: Internal error 200310221 I try the compile with full build, clean and build but is the same Computer: Windows 2000 Professional (Service Pack 4) Lazarus in build:

Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-30 Thread Bram Kuijvenhoven
fedorax wrote: Selon Joost van der Sluis [EMAIL PROTECTED]: On Sat, 2007-05-26 at 15:00 +0200, fedorax wrote: I've a strange bug. In this fonction ( Which was worked perfectly from few months an never chage ). -- procedure TFunc_Sql.List_TablesSelectionChange(Sender:

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/26/07, Marc Weustink [EMAIL PROTECTED] wrote: A way to work around this is: Create an app bundle in your project dir and symlink the exe inside the bundle to the compiled exe in the project dir. Then for debugging set Run parameters - host application to yourbundle.app The work around

Re: [lazarus] Error: Undefined symbol

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 14:56:39 +0200 Roland Turcan [EMAIL PROTECTED] wrote: Hello lazarus project! During compilation of Lazarus after adding new units into component package I get this error message: C:\lazarus\ide\lazarus.pp(117,1) Error: Undefined symbol: RESOURCESTRINGLIST_MSGDLGS

[lazarus] Event Click on Form

2007-05-30 Thread Darmawan Sugiarto
Hello I want to detect when my mouse click on my form then I can drag It. In Delphi programming I can used this code. procedure TLoginForm.NCHitTest(var _Msg:TMessage); begin inherited; if _Msg.Result=HTCLIENT then _Msg.Result:=HTCAPTION; end; But in Lazarus I can find HTCLIENT and

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 13:56:55 +0200 A.J. Venter [EMAIL PROTECTED] wrote: gtk1+TBitBtn+disabled = flicker So the short version is - that GTK1 couldn't do what I needed (a dynamically updated but often disabled set of buttons with pictures on them) without creating a new component.

Re: [lazarus] Problem during build last release

2007-05-30 Thread Vincent Snijders
Guadagnini David schreef: During the build of the last release I have the follow error: C:\lazarus\components\lazreport\source\LR_Class.pas(72,1) Fatal: Internal error 200310221 I try the compile with full build, clean and build but is the same Computer: Windows 2000 Professional (Service

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Tom Gregorovic
Felipe Monteiro de Carvalho napsal(a): On 5/26/07, Marc Weustink [EMAIL PROTECTED] wrote: A way to work around this is: Create an app bundle in your project dir and symlink the exe inside the bundle to the compiled exe in the project dir. Then for debugging set Run parameters - host

Re[2]: [lazarus] Error: Undefined symbol

2007-05-30 Thread Roland Turcan
30.5.2007 19:29 - Mattias Gaertner [EMAIL PROTECTED] MG On Wed, 30 May 2007 14:56:39 +0200 MG Roland Turcan [EMAIL PROTECTED] wrote: Hello lazarus project! During compilation of Lazarus after adding new units into component package I get this error message:

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Vincent Snijders
Tom Gregorovic schreef: Hi, I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Tom, I was wondering how far are you from running the IDE based on the carbon widgetset? Or do you already run a

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread A.J. Venter
Maybe you can try TSpeedButton instead of TBitBtn. That would only work if I painted the Caption myself would it not ? TSpeedButton has a Caption. Default is ''. In which case... it gets even MORE custom painting... not sure it's worth it. Did you try? Heh, point made :) Question then:

Re: [lazarus] TOpendialog.InitialDir

2007-05-30 Thread A.J. Venter
Hey Alain, let me try to help/ On 5/30/07, Alain Michaud [EMAIL PROTECTED] wrote: Hi, thank you all for the answers. I have many hints now: enough to keep me busy for many hours: --- My fstab does not say anything about .../floppy... That does not seem normal? It is in fact normal with many

Re: [lazarus] Error: Undefined symbol

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 21:33:54 +0200 Roland Turcan [EMAIL PROTECTED] wrote: 30.5.2007 19:29 - Mattias Gaertner [EMAIL PROTECTED] MG On Wed, 30 May 2007 14:56:39 +0200 MG Roland Turcan [EMAIL PROTECTED] wrote: Hello lazarus project! During compilation of Lazarus after adding new units

Re: [lazarus] Event Click on Form

2007-05-30 Thread Felipe Monteiro de Carvalho
This code looks *very* windows specific. To detect mouse clicks there is already a cross-platform OnClick event for TForm. There are also OnMouseDown, OnMouseMove, OnMouseUp, etc, which may be better then OnClick to implement dragdrop I think there are also some drag drop specific events, but I

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 22:17:57 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Maybe you can try TSpeedButton instead of TBitBtn. That would only work if I painted the Caption myself would it not ? TSpeedButton has a Caption. Default is ''. In which case... it gets even MORE

Re: [lazarus] Error: Undefined symbol

2007-05-30 Thread Vincent Snijders
Roland Turcan schreef: Hello lazarus project! During compilation of Lazarus after adding new units into component package I get this error message: C:\lazarus\ide\lazarus.pp(117,1) Error: Undefined symbol: RESOURCESTRINGLIST_MSGDLGS MSGDLGS.pas is my unit and I have set the path to that file

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/30/07, Vincent Snijders [EMAIL PROTECTED] wrote: Tom, I was wondering how far are you from running the IDE based on the carbon widgetset? Or do you already run a carbon based IDE? I just tested it. One must compile with: make clean all LCL_PLATFORM=carbon OPT=-k-framework -kcarbon And

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Felipe Monteiro de Carvalho
On 5/30/07, Tom Gregorovic [EMAIL PROTECTED] wrote: I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Thanks. Indeed it would be nice to have a better working IDE on mac os x. I have some

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Павел Ишенин
Felipe Monteiro de Carvalho wrote: On 5/30/07, Tom Gregorovic [EMAIL PROTECTED] wrote: I am working on running/debugging Application bundles under Carbon option for Lazarus IDE. I will test it tomorrow and if it succeeds, I commit it. Thanks. Indeed it would be nice to have a better working

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 19:00:23 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Felipe, I think you can set Pass Options To The Linker to this: -framework carbon -framework Qt4Intf -lobjc for each new project and then just forget about it. You can then change the widget type to gtk, qt or

Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-30 Thread fedorax
Selon Bram Kuijvenhoven [EMAIL PROTECTED]: fedorax wrote: Selon Joost van der Sluis [EMAIL PROTECTED]: On Sat, 2007-05-26 at 15:00 +0200, fedorax wrote: I've a strange bug. In this fonction ( Which was worked perfectly from few months an never chage ). --

Re: [lazarus] TOpendialog.InitialDir

2007-05-30 Thread Marc Santhoff
Am Mittwoch, den 30.05.2007, 16:23 -0400 schrieb Alain Michaud: --- My fstab does not say anything about .../floppy... That does not seem normal? Yes, that's pretty normal. Although many linux distros come with some preparation: the automounter daemon. Open an xterm an type man amd, that should

RE: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Hess, Philip J
Good point. But if the linker on other platforms complains about the OS X specific switches, you should be able to uncheck Pass Options To Linker box, correct? Here's the reference for what can go into the app bundle's Info.plist file:

[lazarus] Accepting Input on controls which don't have focus

2007-05-30 Thread Dave Coventry
Hi, I have a form with a TScrollBox and a TMemo. The TScrollBox has a TImage within it. The Purpose of the TScrollBox is to capture MouseWheel events (And also, it's painted black, the same colour as the TImage to reduce flicker). What I want is for the user's keyboard input to be