Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
On 5/31/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: Regarding your 2nd suggestion: It's absolutely critical that the IDE not create a new app bundle each time it compiles. It doesn't need to create a new app bundle with each compile. Just make a trivial check: Does myapp.app already exist? If

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
On 5/31/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: 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 carbon as needed and compile. I don't b

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
On 5/31/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: -framework carbon -framework Qt4Intf -lobjc What does -lobjc do? -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-31 Thread A.J. Venter
The disabled TBitBtn flickers, because the grayed image is created during paint. TSpeedButton does not gray the image, but paints delayed (gtk1 intf). So it might flicker less for small buttons. Aaaah, okay, that explains it - but also means it won't work for me. The 'grayed' effect is fairly f

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Felipe Monteiro de Carvalho
Of course those other things I mentioned are secondary. The most important think is having debugging on the IDE. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Su

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 09:14:52 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > > > > The disabled TBitBtn flickers, because the grayed image is created > > during paint. TSpeedButton does not gray the image, but paints > > delayed (gtk1 intf). So it might flicker less for small buttons. > > > Aaaah

Re: [lazarus] Tools>convert, compile, run then "Execution stopped"

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 09:28:02 +0200 ht <[EMAIL PROTECTED]> wrote: > Hello, > > (I use the german version, may be my translation don't fit exactly) > > I converted some delphi3 sources. > When I compile then, there are no errors (I deletet {$R *.RES}). > But at the end ther was the mesage "execut

[lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Felipe Monteiro de Carvalho
Hi, I just installed open office on macintosh. It requires X11 to run, but it is as easy to install (just drag the folder from the dmg), to run (can be put on the docker) and uninstall as any good aqua application. That's really very interresting, because if Open Office can do it, we could do th

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

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 07:13:39 +0200 Dave Coventry <[EMAIL PROTECTED]> wrote: > 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 TI

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

2007-05-31 Thread Dave Coventry
Mattias Gaertner wrote: > Under gtk mouse wheel normally scrolls whatever is under the mouse, > ignoring current focus. The same is true for LCL gtk applications. I'm currently writing this under XP, but intend to have Linux versions as well. > Maybe do this for other platforms: If the ima

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-05-31 Thread Vincent Snijders
[EMAIL PROTECTED] schreef: Hi ;) I just downloaded and installed the new lazarus+crosswince but they don't works. The file I downloaded are: Lazarus-0.9.23-fpc-2.1.3-20070424-win32.exe Lazarus-0.9.23-fpc-2.1.3-20070422-cross-arm-wince-win32.exe After installing, I opened lazarus and pressed F9

[lazarus] GTK2 - Bug with SpinEdit on Modal Dialog

2007-05-31 Thread A.J. Venter
Hi all, Not sure if this affects ALL spinedits or just on modal dialogs, but under GTK2 with the spinedit on a modal form, spinedit.value ALWAYS returns '1' regardless of the actual value - recompile the same app with gtk1 and the correct value is returned. A.J. -- A.J. Venter CEO - OutKast Solu

RE: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Hess, Philip J
Felipe, Have you tried NeoOffice? It's a native OO port for OS X. I don't think many Mac users would be happy with an X11 version of OO. http://www.neooffice.org/neojava/en/index.php Thanks. -Phil -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Th

RE: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Hess, Philip J
Apparently with Qt 4.2 it now requires the Objective C library (objc) to link against. Thanks. -Phil -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 3:09 AM To: lazarus@miraclec.com Subject: Re: [lazarus] Debugger on Mac OS X

RE: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Albert Zeyer
I like the X11-version of OO way more better then the native one. The native one works slower, a bit unstable, has less features but on the other side more problems. (But I must admit, I tested it one year ago or so.) And it's also no problem to have X on your Mac OS X, it's installed by default a

RE: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Hess, Philip J
Albert, Please test the latest NeoOffice. I believe a year ago it was still at OO 1.1. Much improved since then. X11 is not installed by default on OS X. Thanks. -Phil From: Albert Zeyer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007

Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-31 Thread Joost van der Sluis
On Thu, 2007-05-31 at 02:20 +0200, fedorax wrote: > 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

Re: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 10:54:12 -0400 "Hess, Philip J" <[EMAIL PROTECTED]> wrote: > Albert, > > > > Please test the latest NeoOffice. I believe a year ago it was still at > OO 1.1. Much improved since then. Maybe you missed the point of Felipe. At the moment the only LCL interface for MacOSX tha

Re: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Tom Gregorovic
Vincent Snijders napsal(a): 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 widget

RE: [lazarus] Debugger on Mac OS X

2007-05-31 Thread Hess, Philip J
Felipe, Good suggestion. By making it a compiler option, it could be unchecked if you don't want the default barebones app bundle to be created. For experienced developers, this would probably be what they would want since they would probably have to delete the barebones app bundle in order to use

RE: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Hess, Philip J
Felipe, You should be able to create an app bundle for Lazarus, even with its dependence on needing X11 already running. See http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips. I had this working at one time. Note that you'll probably want to go a step further and try putting all of the Laz

Re: [lazarus] patch finddeclarationtool

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 18:07:20 +0200 Darius Blaszijk <[EMAIL PROTECTED]> wrote: > This patch implements the method: FindInitializationSection. Thanks. Applied. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] GTK2 - Bug with SpinEdit on Modal Dialog

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 14:52:19 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > Hi all, > Not sure if this affects ALL spinedits or just on modal dialogs, but > under GTK2 with the spinedit on a modal form, spinedit.value ALWAYS > returns '1' regardless of the actual value - recompile the same app >

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

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 13:12:37 +0200 Dave Coventry <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > > Under gtk mouse wheel normally scrolls whatever is under the > > > mouse, ignoring current focus. The same is true for LCL gtk > > > applications. > > I'm currently writing this under XP, b

Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-31 Thread fedorax
Selon Joost van der Sluis <[EMAIL PROTECTED]>: > > It could be that it's fixed in r7538. Can you test? > > Joost > That's wok now. I play few minutes with arrows and mouse in the list and nothing bad happen. But there is an other bug in r7538 at make install:

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-05-31 Thread patrick feillant
Hello I install today, Lazarus-0.9.23-fpc-2.1.5-20070531-win32.exe Lazarus-0.9.23-fpc-2.1.5-20070531-cross-arm-wince-win32.exe (i see in your mail here that it exist !!) Is the Cross-arm-wince make every day , is not accessible in the snapshots. I test my prog on pocket pc emulator, it'

Re: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Vincent Snijders
Hess, Philip J schreef: Also, since you have an Intel Mac, you should be able to install and run the PowerPC version of FPC and Lazarus too and create PowerPC executables without cross-compiling. One issue would be figuring out how to install two versions of FPC since these file locations are ki

[lazarus] Lazarus and Ubuntu 7.04 AMD 64

2007-05-31 Thread Paul Midgley
Hello Has anyone managed to successfully install Lazarus on Ubuntu 7.04 AMD 64 version. I was able to download Free Pascal for this version of Linux but not Lazarus. I have downloaded the source files for Lazarus and compiled it successfully but when it launches it says it cannot find the Free Pas

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-05-31 Thread Vincent Snijders
patrick feillant schreef: Hello I install today, Lazarus-0.9.23-fpc-2.1.5-20070531-win32.exe Lazarus-0.9.23-fpc-2.1.5-20070531-cross-arm-wince-win32.exe (i see in your mail here that it exist !!) Is the Cross-arm-wince make every day , is not accessible in the snapshots. No, it is not

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

2007-05-31 Thread Micha Nelissen
Dave Coventry wrote: > However, if the Focus is set onto the TImage, the TMemo doesn't take the > keyboard input, and visa versa, if the TMemo has focus, the Mousewheel > events are discarded. Any solutions? Keystrokes go to focused control. Mousewheel is special, I've written code to redirect it

[lazarus] Lazarus for win64 available for download from sourceforge

2007-05-31 Thread Vincent Snijders
The win64 versions of fpc and Lazarus have improved a lot in the last couple of months. So much that we can include it in the regular releases when fpc 2.2.0 has been released (expected this summer). To celebrate this, the Lazarus team has uploaded a snapshot to the Lazarus testing download ar

[lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
Hi, What is the best way to resize an image? I am thinking of something Java's Image class has that will return a scaled image, and you can decide whether it should be a good quality or a fast one. I don't necessarily want to write it to a file, just in memory. (I want to cache images in the mem

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-05-31 Thread patrick feillant
cal.org/svn/fpc/trunk fpc 2007/5/31, Vincent Snijders <[EMAIL PROTECTED]>: patrick feillant schreef: > Hello > I install today, > Lazarus-0.9.23-fpc-2.1.5-20070531-win32.exe > Lazarus-0.9.23-fpc-2.1.5-20070531-cross-arm-wince-win32.exe (i see > in your mail here that it exi

Re: [lazarus] Resizing an image

2007-05-31 Thread Michael Van Canneyt
On Thu, 31 May 2007, Charl van Jaarsveldt wrote: > Hi, > > What is the best way to resize an image? I am thinking of something Java's > Image class has that will return a scaled image, and you can decide whether > it should be a good quality or a fast one. I don't necessarily want to write > it

Re: [lazarus] Lazarus and Ubuntu 7.04 AMD 64

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 20:12:19 +0100 Paul Midgley <[EMAIL PROTECTED]> wrote: > Hello > > Has anyone managed to successfully install Lazarus on Ubuntu 7.04 AMD > 64 version. I was able to download Free Pascal for this version of > Linux but not Lazarus. I have downloaded the source files for Lazarus

Re: [lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
Thanks for the pointers. I can't find the extinterpolation unit though. I think I am getting an idea of how to do what I want. The only thing that eludes me is how to get the FPImage into the TImage control? The class hierarchy seems rather confusing there. :-( Thanks Charl PS Please excuse my

Re: [lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
Ah, that would probably explain why I can't find it. :-) Yeah, I want to keep a cache of images in memory while keeping open the possibility of actually saving the cache. Thanks for the help! Charl On 5/31/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Thu, 31 May 2007, Charl van Jaar

Re: [lazarus] Resizing an image

2007-05-31 Thread Michael Van Canneyt
On Thu, 31 May 2007, Charl van Jaarsveldt wrote: > Thanks for the pointers. I can't find the extinterpolation unit though. in the FPC source tree: packages/fcl-image/src/extinterpolation.pp (it may not be present if you're working with the the 2.0.4 release) > > I think I am getting an idea

Re: [lazarus] Resizing an image

2007-05-31 Thread Charl van Jaarsveldt
Hi Michael, I am still confused. :-( I cannot figure out how to get the FPImage drawn. I thought perhaps the TImage.canvas.draw() function would do it - the code completion shows a draw(int, int, FPCustomImage) method, but when I compile it the compiler says it it expects a TGraphic. Sure enough,

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-05-31 Thread Carlos Avogaro
Hi patrick where I can find the pocket pc emulator ? Thank you patrick feillant <[EMAIL PROTECTED]> wrote: Hello I install today, Lazarus-0.9.23-fpc-2.1.5-20070531-win32.exe Lazarus-0.9.23-fpc-2.1.5-20070531-cross-arm-wince-win32.exe (i see in your mail here that it

Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-05-31 Thread Carlos German Tejero
Hi,my name is German Tejero, and my english is very bad. I download the lazarus win64 release, and i test it on a Intel Core 2 Duo E6400. I install the lazdaemon package and i discover a bug, when add a TDaemon or a TDaemonMapper, the uses contains duplicated LResources unit: * uses Classes, S

Re: [lazarus] About DBGRid+ZEOS in Suse

2007-05-31 Thread Jesus Reyes A.
- Original Message - From: "Allies Xposs" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 22, 2007 11:47 PM Subject: [lazarus] About DBGRid+ZEOS in Suse Need Help In my DBGRID dataset with ZSquery (Zeos Component) can not show Record (Varchar (4)), But Field Date (P_tgl Date) can S

Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-05-31 Thread Vincent Snijders
Carlos German Tejero schreef: Hi,my name is German Tejero, and my english is very bad. I download the lazarus win64 release, and i test it on a Intel Core 2 Duo E6400. I install the lazdaemon package and i discover a bug, when add a TDaemon or a TDaemonMapper, the uses contains duplicated LRe

Re: [lazarus] Resizing an image

2007-05-31 Thread A.J. Venter
Hi Michael, Here is how I do it [I'm sure you can customise it to your needs, factor can also be something like 0.5 (to scale to halfsize)] :) A.J. Procedure Scale(P1 : TPicture;Var P2:TPicture;Factor : Real); Var ARect : TRect; X,Y : Integer; Begin X := Round(P1.Width * Factor);