Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: Hi, Can Lazarus handle masked bitmaps in Canvas.StretchDraw? I'm looking for hints on how to implement this in fpGUI. I got StretchDraw to work using any of the Interpolation filters defined in fcl-image package of FPC, but now need to get rid of the clMagenta

Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Can Lazarus handle masked bitmaps in Canvas.StretchDraw? I'm looking for hints on how to implement this in fpGUI. I got StretchDraw to work using any of the Interpolation filters defined in fcl-image package of FPC, but now need to get rid of the clMagenta mask

Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Graeme Geldenhuys
Thanks Marc. I might have a early peak at the lcl-marc branch then. My problem is the blended colors when I enlarge a bitmap. The clMagenta color is easy to remove, but the edge of the actual image is blended with clMagenta creating a slightly non-Magenta color, which will not be picked up in

Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Marc Weustink
Graeme Geldenhuys wrote: Thanks Marc. I might have a early peak at the lcl-marc branch then. My problem is the blended colors when I enlarge a bitmap. The clMagenta color is easy to remove, but the edge of the actual image is blended with clMagenta creating a slightly non-Magenta color, which

[lazarus] Lazarus Data Desktop

2007-07-14 Thread Michael Van Canneyt
Hi, Mattias Gaertner has kindly included a new tool which I started in Lazarus: The Lazarus Data Desktop. It can be found in subversion under tools/lazdatadesktop Some preliminary screenshots can be found on http://www.freepascal.org/~michael/lazdde The idea of this tool is to be able to

Re: timing how long a user is idle

2007-07-14 Thread Charl van Jaarsveldt
Does no-one have an idea? BTW, I notice my emails to lazarus mailing list does not have [lazarus] in the subject. Am I supposed to put that in myself? Thanks Charl On 7/12/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi, I would like to have a procedure run after, say, 15 minutes of

[lazarus] sqldb problem

2007-07-14 Thread Charl van Jaarsveldt
Hi, I was trying to compile the DataDesktop, and had to install the sqldb package to do so. Unfortunately the sqldb package doesn't want to compile. It fails to find TSQLScript and TSQLConnector. Does sqldb have some other dependency? Charl -- I love deadlines. I especially love the whooshing

Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Graeme Geldenhuys
On 14/07/07, Marc Weustink [EMAIL PROTECTED] wrote: What i did there was maskdraw the unscaled source, on a black alpha image (iirc) and then alpha draw the result streched. In theory there shouldn't be a mask color anymore, but somehow you still see some remains. That sounds like what I had

Re: [lazarus] sqldb problem

2007-07-14 Thread Michael Van Canneyt
On Sat, 14 Jul 2007, Charl van Jaarsveldt wrote: Hi, I was trying to compile the DataDesktop, and had to install the sqldb package to do so. Unfortunately the sqldb package doesn't want to compile. It fails to find TSQLScript and TSQLConnector. Does sqldb have some other dependency? No.

Re: [lazarus] sqldb problem

2007-07-14 Thread Charl van Jaarsveldt
Ah, so these are part of freepascal? I just noticed I am still using 2.0.4 - the one that's in the ubuntu repositories. Thanks :-) Charl On 7/14/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 14 Jul 2007, Charl van Jaarsveldt wrote: Hi, I was trying to compile the DataDesktop,

Re: timing how long a user is idle

2007-07-14 Thread Michael Van Canneyt
On Sat, 14 Jul 2007, Charl van Jaarsveldt wrote: Does no-one have an idea? No. I doubt it is possible. You might be able to do this for your own application by hooking to the OnIdle event handler of your application and starting a timer. BTW, I notice my emails to lazarus mailing list

Re: [lazarus] sqldb problem

2007-07-14 Thread Vincent Snijders
Michael Van Canneyt schreef: On Sat, 14 Jul 2007, Charl van Jaarsveldt wrote: Hi, I was trying to compile the DataDesktop, and had to install the sqldb package to do so. Unfortunately the sqldb package doesn't want to compile. It fails to find TSQLScript and TSQLConnector. Does sqldb have

Re: timing how long a user is idle

2007-07-14 Thread Vincent Snijders
Charl van Jaarsveldt schreef: Does no-one have an idea? BTW, I notice my emails to lazarus mailing list does not have [lazarus] in the subject. Am I supposed to put that in myself? Your mails do have the [lazarus], but gmail doesn't let you receive the mail you sent yourself, it only shows

[lazarus] Call a form from another form

2007-07-14 Thread German C. Basisty
Hi! This is a very newby question, but you have to understand I'm a Linux c++ (console) developer, not familiar with Delphi. I could install Lazarus, tryed a few examples, and now I'm trying to call a form from another form. So I designed a form (Form1) with a button and a second form, but it

Re: [lazarus] Call a form from another form

2007-07-14 Thread Charl van Jaarsveldt
Hello, When you say it doesn't work, what do you mean? It does not compile, or it does not work the way you expected? If compiling is a problem, it could be that you forgot to add the unit of form2 in the uses clause for the unit of form1. Charl On 7/14/07, German C. Basisty [EMAIL PROTECTED]

RE: [lazarus] Call a form from another form

2007-07-14 Thread German C. Basisty
It does not compile, sorry. I think I forgot to add the unit of form2. I really dont know hot to do that, may you please send me an example? J Regards De: Charl van Jaarsveldt [mailto:[EMAIL PROTECTED] Enviado el: sábado, 14 de julio de 2007 03:59 p.m. Para: lazarus@miraclec.com Asunto: Re:

Re: [lazarus] Call a form from another form

2007-07-14 Thread Charl van Jaarsveldt
You should have a unit for form1 called unit1 (if not haven't changed the name), and another unit, called unit2 for form2. If you look at unit1 in the editor, you will see that it starts like: unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls,

RE: [lazarus] Call a form from another form

2007-07-14 Thread German C. Basisty
Thank you very much for your patience! That is what I need to know! Regards, german De: Charl van Jaarsveldt [mailto:[EMAIL PROTECTED] Enviado el: sábado, 14 de julio de 2007 04:41 p.m. Para: lazarus@miraclec.com Asunto: Re: [lazarus] Call a form from another form You should have a

RE: [lazarus] Call a form from another form

2007-07-14 Thread German C. Basisty
Hi, me again! How do I do to avoid a circular unit reference? What If after form2 shows up, I want a button to make it disappear and show form1 again? I tryed adding Unit1 to the uses clause of Unit2, but it doesnt compile showin an error about circular unit reference. Rest regards De:

RE: [lazarus] Call a form from another form

2007-07-14 Thread Michael Van Canneyt
On Sat, 14 Jul 2007, German C. Basisty wrote: Hi, me again! How do I do to avoid a circular unit reference? What If after form2 shows up, I want a button to make it disappear and show form1 again? I tryed adding Unit1 to the uses clause of Unit2, but it doesnt compile showin an

[lazarus] Codetools dont know savecall

2007-07-14 Thread Christian U.
The codetools dont know the keyword savecall. is it possible to add it ? regards Christian _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

RE: [lazarus] Call a form from another form

2007-07-14 Thread German C. Basisty
I found the answer by myself, in a post in the fórum. I says something about moving in one unit the other unit reference from the uses clause to the implementation section, for example: (UNIT 2) Implementation uses Unit1; Now I tryed writting both uses on implementation section and

Re: [lazarus] PostgreSQL

2007-07-14 Thread Swen Heinig
The sqldb package currently doesn't support all databases under Windows x64. That's why some components are deactivated. In case of PostgreSQL that's not a big problem, because there is no 64 bit client library available which you would need for your 64 bit application. Best regards, Swen

Re: timing how long a user is idle

2007-07-14 Thread Marc Weustink
Michael Van Canneyt wrote: BTW, I notice my emails to lazarus mailing list does not have [lazarus] in the subject. Am I supposed to put that in myself? No. Sometimes the mailing list software forgets to add it. No idea, why. It doesn't add it when there is a RE: in the subject Marc

Re: [lazarus] Call a form from another form

2007-07-14 Thread Marc Weustink
German C. Basisty wrote: Now I tryed writting both uses on implementation section and also works well. Whats the diference between uses clause and implementation clause? both are uses clauses. The one defined in the interface section tells the compiler which units to use to compile the

Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Marc Weustink
Graeme Geldenhuys wrote: On 14/07/07, Marc Weustink [EMAIL PROTECTED] wrote: What i did there was maskdraw the unscaled source, on a black alpha image (iirc) and then alpha draw the result streched. In theory there shouldn't be a mask color anymore, but somehow you still see some remains.

[lazarus] reading XML error

2007-07-14 Thread George Lober
Hello, I have this code which reads XML. I get a SIGSEGV error when reading a NodeValue which has no content. For runtime it works ok because I put in the try/except block, but this still produces error at design time which is a nuisance. Any suggestions? Is there a way to check for an empty