Re: [lazarus] Linux service developing

2007-05-29 Thread Alvise Nicoletti
I still got no answers about how capturing the signals on linux. Searching the wiki I found nothing useful with linux service, signals, sigkill, and other stuff like that... I found something googling but I can't work that way... Someone looked the code? Is that rubbish or it can be a

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread A.J. Venter
An updated (related) question would be whether there is any way to remove the flicker in THIS case: I have a couple of TBitBtn components. Appart from their captions and glyphs, I actually write some information to the canvasses which are meant to show up ON TOP of each glyph. A button may or

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread A.J. Venter
On 5/29/07, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 5/29/07, A.J. Venter [EMAIL PROTECTED] wrote: I have a couple of TBitBtn components. Appart from their captions and glyphs, I actually write some information to the canvasses which are meant to show up ON TOP of each glyph.

[lazarus] Unable to Locate Component

2007-05-29 Thread Roland Turcan
Hello lazarus project! After adding my new component to Lazarus I got this message: Caption:='lazarus.exe - Unable To Locate Component' This application has failed to start because winspool32.drv was not found. Re-installing the application may fix this problem. -- Best regards, TRoland

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Dave Coventry
AJ, In my case, when the image is redrawn, the TImage was cleared which showed the underlying colour (clBtnFace), which caused the flicker when the black background was painted in. I'm not sure of how relevant it would be in your case, but I changed the colour of the underlying panel to

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread A.J. Venter
Well I've reduced the flicker a little by doing a few small things (mostly not reloading images unless they have changed). I also set the DoubleBuffered property of the components to true, though I see no effect from doing so nor do I know what effect it's supposed to have. My understanding of

Re: [lazarus] Strange bug with SQLQuery.Close

2007-05-29 Thread Joost van der Sluis
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; User: boolean); begin If

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Mattias Gaertner
On Tue, 29 May 2007 11:26:02 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Well I've reduced the flicker a little by doing a few small things (mostly not reloading images unless they have changed). I also set the DoubleBuffered property of the components to true, though I see no effect from

Re: [lazarus] Find Identifier error with FPCMacOSAll unit

2007-05-29 Thread Mattias Gaertner
On Sat, 26 May 2007 15:45:59 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, Find identifier util from lazarus ide seams to fail when FPCMacOSAll is on the uses clause (gtk ide running on OS X). I already posted a bug report here:

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread A.J. Venter
DoubleBuffered is a hint for the interface. The gtk2 intf always paints double buffered for each gdkwindow. That means paint events are double buffered, other painting not. The gtk1 intf has almost no doublebuffering. I'm not sure about the other interfaces. Aaah okay, that makes sense. I only

Re: Compiling software on Mac OS X

2007-05-29 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: Oh, has Mac OS X also got a Root account? I know it's built on top of FreeBSD, but thought they hid all the unix stuff. :) Not really. It feels more or less like a Linux with a Mac Desktop. If you open a terminal, then you get the unix command line. That's

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Charl van Jaarsveldt
Hi, I am just making a wild guess, so if it sounds absurd, please ignore. :-) How about creating a dummy invisible button, and use that one as a buffer for all the other buttons. So, everytime you need to update a button, rather make the dummy what you want, then somehow copy the canvas of the

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Mattias Gärtner
Zitat von A.J. Venter [EMAIL PROTECTED]: DoubleBuffered is a hint for the interface. The gtk2 intf always paints double buffered for each gdkwindow. That means paint events are double buffered, other painting not. The gtk1 intf has almost no doublebuffering. I'm not sure about the other

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Darmawan Sugiarto
I used TPaintBox... it's work better than Timage when Drawing (OnPaint) You can try it Gustavo Enrique Jimenez [EMAIL PROTECTED] wrote: 2007/5/28, Dave Coventry [EMAIL PROTECTED]: Gustavo Enrique Jimenez wrote: There are good tutorials/examples on

Re: [lazarus] Linux service developing

2007-05-29 Thread Alvise Nicoletti
A.J. Venter ha scritto: Look in the demo programs shipped with FPC, there is a fully working demo daemon called daemon.pp - among other things, it catches the crucial signals. A.J. On 5/29/07, Alvise Nicoletti [EMAIL PROTECTED] wrote: I still got no answers about how capturing the signals on

RE: Compiling software on Mac OS X

2007-05-29 Thread Hess, Philip J
Felipe, I usually just copy the lazarus folder into my user folder, then delete /usr/local/share/lazarus. That way I don't have to be root to recompile the LCL. Someday when we have a Carbon-based Lazarus IDE I would hope we could just install it wherever we want. Don't the Intel snapshots

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Mattias Gaertner
On Tue, 29 May 2007 15:11:48 +0200 Mattias Gärtner [EMAIL PROTECTED] wrote: Zitat von A.J. Venter [EMAIL PROTECTED]: DoubleBuffered is a hint for the interface. The gtk2 intf always paints double buffered for each gdkwindow. That means paint events are double buffered, other painting

Re: [lazarus] WinCE patch

2007-05-29 Thread Vincent Snijders
Aleš Katona schreef: This is a patch for the winCE LCL interface to add support for OnAsyncSocketMsg event just like in win32. Already tested and working (note: if you get my mail from [EMAIL PROTECTED] it was sent before but didn't went through) Thanks. Applied. Vincent

Re: [lazarus] [patch] - FPCUnit GUI Test Runner

2007-05-29 Thread Vincent Snijders
Dean Zobec schreef: Graeme Geldenhuys pravi: Hi Attached is a patch for FPCUnit GUI Test Runner. This patch combined with the one I sent to FPC-Devel will prevent the GUI Test Runner to output the XML test results to the console and the SynEdit component. For the GUI Test Runner the SynEdit

[lazarus] Contract Lazarus work - USA based

2007-05-29 Thread Tony Maro
Hey Laz lister's: Anyone in the USA interested in some contract work on TruckBytes (truckbytes.com) which is entirely Lazarus developed? We have a very specific version of FPC + Lazarus that it must be developed on - as usual someone moved my cheese and the code won't compile in the latest

Re: Compiling software on Mac OS X

2007-05-29 Thread Felipe Monteiro de Carvalho
On 5/29/07, Hess, Philip J [EMAIL PROTECTED] wrote: Don't the Intel snapshots include compiled units for gtk and carbon? don't know, but what I really needed was the subversion version, because I will be making comits and compiling the carbon intf myself =) thanks, -- Felipe Monteiro de

RE: Compiling software on Mac OS X

2007-05-29 Thread Hess, Philip J
Felipe, That's what I figured you would be using, but you said you had installed snapshots so I'm wondering why you would get a compile error without recompiling LCL. Thanks. -Phil -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29,

Re: Compiling software on Mac OS X

2007-05-29 Thread Felipe Monteiro de Carvalho
On 5/29/07, Hess, Philip J [EMAIL PROTECTED] wrote: That's what I figured you would be using, but you said you had installed snapshots so I'm wondering why you would get a compile error without recompiling LCL. Of course I couldn't use my lazarus for too long without recompiling my lcl =) --

[lazarus] TOpendialog.InitialDir

2007-05-29 Thread Alain Michaud
Hi, this is not really a lazarus/FPC question, but it would help me if anyone would know about this: I set the TOpenDialog.InitialDir property to /mnt/floppy but when I execute: MyOpendialog.execute the content is empty of course because it is not mounted! Would anyone know how to mount