Re: [Lazarus] Remote application

2012-10-29 Thread Leonardo M . Ramé
On 2012-10-29 15:54:45 +0100, Santiago A. wrote: El 29/10/12 14:38, Reinier Olislagers escribió: On 29-10-2012 13:57, Leonardo M. Ramé wrote: Hi Santiago, did you try to run the application from a remote location?, by just publishing the database (assuming you are using a TCP database

[Lazarus] Splash window with drop shadow

2012-10-29 Thread Leonardo M . Ramé
Hi, I'm wondering if there's a way to create an splash screen (a borderless window) with a drop shadow, I'm thinking of something like showing a PNG with shadow on screen, but without its background window. Better if it's cross platform. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Checkbox value in TDrawGrid

2012-10-20 Thread Leonardo M . Ramé
On 2012-10-19 17:09:43 -0700, Jesus Reyes wrote: --- El vie 19-oct-12, Leonardo M. Ramé l.r...@griensu.com escribió: De: Leonardo M. Ramé l.r...@griensu.com Asunto: [Lazarus] Checkbox value in TDrawGrid A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Fecha: viernes, 19

[Lazarus] Checkbox value in TDrawGrid

2012-10-19 Thread Leonardo M . Ramé
Hi, is there a method to set/get the value of a checkbox in a TDrawGrid, when the column's buttonStyle was declared as cbsCheclBoxColumn?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 11:52:49 -0300, Leonardo M. Ramé wrote: On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know

[Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
not load PostgreSQL client library libpq.so. Check your installation What can be happening?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:07:28 +0200, zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:28:28 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear there if installed correctly -- Here's the result

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:47:57 +0200, Bernd wrote: 2012/9/25 Bernd prof7...@gmail.com: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:52:49 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: libpq.so (libc6) = /usr/local/pgsql/lib/libpq.so It seems to be installed correctly. maybe libpq.so itself has some dependency problems and will refuse to load (but I am not sure how the error

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 18:54:11 +, Mark Morgan Lloyd wrote: zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-18 Thread Leonardo M . Ramé
On 2012-09-18 09:36:02 +, Mark Morgan Lloyd wrote: Mattias Gaertner wrote: On Mon, 17 Sep 2012 14:02:30 +0200Chavoux Luyt chav...@gmail.com wrote: Hi Leonardo On 17 September 2012 13:53, Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-18 Thread Leonardo M . Ramé
On 2012-09-18 14:58:54 +0200, Mattias Gaertner wrote: Leonardo M. Ramé l.r...@griensu.com hat am 18. September 2012 um 14:47 geschrieben: On 2012-09-18 09:36:02 +, Mark Morgan Lloyd wrote: [...] Maybe those are causing the problems with my CGI app. Aparently all

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-18 Thread Leonardo M . Ramé
On 2012-09-18 23:00:58 +0200, Mattias Gaertner wrote: On Sun, 16 Sep 2012 20:30:50 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: As I must deploy a Lazarus CGI on this machine, an IBM 560 with a PowerPC processor using OpenSuse Linux, and I'm getting some Access Violations on places

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-17 Thread Leonardo M . Ramé
On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote: Leonardo M. Ramé wrote: As I must deploy a Lazarus CGI on this machine, an IBM 560 with a PowerPC processor using OpenSuse Linux, and I'm getting some Access Violations on places where the x86-64 works ok, I'm offering access

Re: [Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-17 Thread Leonardo M . Ramé
On 2012-09-17 14:02:30 +0200, Chavoux Luyt wrote: Hi Leonardo On 17 September 2012 13:53, Leonardo M. Ramé [1]l.r...@griensu.com wrote: On 2012-09-17 09:18:22 +, Mark Morgan Lloyd wrote: Leonardo M. Ramé wrote:   I've installed FPC 2.7.1 from sources

[Lazarus] Lazbuild on IBM Power6 (OpenSuse Linux)

2012-09-16 Thread Leonardo M . Ramé
, but I didn't tested, since I don't need it, I just have to log in using SSH, compile my app and run it. I've installed FPC 2.7.1 from sources and Lazarus also from sources. If anyone is interested in helping me with this, I can give a user/pass. Regards, -- Leonardo M. Ramé http

[Lazarus] PascalScript on Linux x86_64

2012-09-13 Thread Leonardo M . Ramé
) Warning: No size specified and unable to determine the size of the operands, using DWORD as default x64.inc(144,12) Error: Asm: [push mem32] invalid combination of opcode and operands ... Any workaround? or alternative?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Lazarus 1.0 Release

2012-08-29 Thread Leonardo M . Ramé
for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Congratulations!, thanks for making this dream come true. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing

Re: [Lazarus] Question about fcl-web Request's Handled variable

2012-08-23 Thread Leonardo M . Ramé
On 2012-08-23 10:17:57 +0200, michael.vancann...@wisa.be wrote: On Wed, 22 Aug 2012, Leonardo M. Ramé wrote: As I'm looking for a way to handle Cookies in an automatic/global way, instead of checking for cookie existence in every action request, I was looking into TFPWebModule.onRequest

[Lazarus] Question about fcl-web Request's Handled variable

2012-08-22 Thread Leonardo M . Ramé
?. If yes, I could inherit all my webmodules from a common ancestor, with it's onRequest method containing Cookie handling code. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] LongMonthNames locale

2012-08-20 Thread Leonardo M . Ramé
Hi I need to get the list of month names in Spanish, but I'm getting it in English, is it possible to automatically populate LongMonthNames array without doing it by hand?. I'm using Ubuntu 12.04. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] LongMonthNames locale

2012-08-20 Thread Leonardo M . Ramé
On 2012-08-20 17:05:49 +0200, Vincent Snijders wrote: 2012/8/20 Leonardo M. Ramé l.r...@griensu.com: Hi I need to get the list of month names in Spanish, but I'm getting it in English, is it possible to automatically populate LongMonthNames array without doing it by hand?. I'm using

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Leonardo M . Ramé
/RichView (no editing features AFAIK) There's also lzRichEdit, you can get it using svn from: http://lazarus-br.googlecode.com/svn/trunk/package/lzRichEdit Hopefully some day somebody will convert TRichView (www.richview.com), the best rich editor I've seen so far. Regards, -- Leonardo M

Re: [Lazarus] What to use instead of Delphi's RichEdit component?

2012-08-19 Thread Leonardo M . Ramé
On 2012-08-19 23:04:11 +0100, Graeme Geldenhuys wrote: On 19/08/12 22:39, Leonardo M. Ramé wrote: Hopefully some day somebody will convert TRichView (www.richview.com), That URL now advertises a home window blinds product. :) Regards, - Graeme - Hehe, sorry, it's

Re: [Lazarus] TProcess pipe through StdIn

2012-08-18 Thread Leonardo M . Ramé
, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TProcess pipe through StdIn

2012-08-17 Thread Leonardo M . Ramé
], Length(lText)); lStr.Clear; lStr.LoadFromStream(lProcess.Output); lStr.SaveToFile('output.pdf'); finally lStr.Free; lProcess.Free; end; end; -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] fpWeb long process progress

2012-08-14 Thread Leonardo M . Ramé
). This method writes a temporary file which name is the taskId. 3) The client can ask for status by using a method called getTaskStatus(myTaskId). This way I can run a long task without having to create a daemon. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] fpWeb long process progress

2012-08-14 Thread Leonardo M . Ramé
On 2012-08-14 09:06:20 +0200, michael.vancann...@wisa.be wrote: On Mon, 13 Aug 2012, Leonardo M. Ramé wrote: On 2012-08-13 15:15:56 -0700, leledumbo wrote: How can I send responses by intervals? AFAIK that's not the way web application works. It's the client that should be querying

Re: [Lazarus] fpWeb long process progress

2012-08-14 Thread Leonardo M . Ramé
the process wouldn't take more than one minute, but for longer processes the gateway is a nice idea. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

[Lazarus] fpWeb long process progress

2012-08-13 Thread Leonardo M . Ramé
begin AResponse.Content := IntToStr(I); Sleep(1000); end; Handled := True; end; Of course this doesn't work. How can I send responses by intervals?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] fpWeb long process progress

2012-08-13 Thread Leonardo M . Ramé
finishes when the last task is ended. 3) The client calss a getProcStatus(ID) method. The server, using IPC or Pipes, asks the already-launched process for its status. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing

[Lazarus] Key bindings in XUbuntu

2012-08-05 Thread Leonardo M . Ramé
revision from SVN (38174). Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Key bindings in XUbuntu

2012-08-05 Thread Leonardo M . Ramé
On 2012-08-05 11:24:41 -0300, Leonardo M. Ramé wrote: I'm using Ubuntu 12.04 64bits with the XUbuntu Dekstop (it's XFCE 4.10) and noted the Ctrl+F9 key combination doesn't work in this environment. Doesn anyone knows how can I find if the desktop environment is using that same key

Re: [Lazarus] Key bindings in XUbuntu

2012-08-05 Thread Leonardo M . Ramé
combination for anything else?. Run window manager in xfce4-settings-manager, and click on keyboard tab. You can find ControlF9 and disable it. I have also disabled ControlF2. Fujimaki Ha!, we posted the same answer at the same time! Regards, -- Leonardo M. Ramé http

[Lazarus] Block of text to string?

2012-06-25 Thread Leonardo M . Ramé
I'm pretty sure I used a feature called block to string or similar, where you selected a block of several lines of code, right-mouse-click and there was an option allowing you to convert the selected block, to a string concatenation. Where it is?, am I confused?. Regards, -- Leonardo M. Ramé

Re: [Lazarus] Cannot build 37377

2012-05-22 Thread Leonardo M . Ramé
On 2012-05-22 09:35:59 +0200, Sven Barth wrote: Am 22.05.2012 08:24, schrieb Sergei Gorelkin: 22.05.2012 0:51, Maxim Ganetsky пишет: 21.05.2012 22:15, Leonardo M. Ramé написал: On 2012-05-21 14:22:55 -0300, Leonardo M. Ramé wrote: On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote: On Mon

[Lazarus] Cannot build 37377

2012-05-21 Thread Leonardo M . Ramé
: *** [lazbuild] Error 2 -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cannot build 37377

2012-05-21 Thread Leonardo M . Ramé
On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote: On Mon, 21 May 2012 11:10:48 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: This is the output I'm getting after make clean all in 37377, fpc trunk was compiled a few minutes before: Free Pascal Compiler version 2.7.1 [2012/05/21

Re: [Lazarus] Cannot build 37377

2012-05-21 Thread Leonardo M . Ramé
On 2012-05-21 14:22:55 -0300, Leonardo M. Ramé wrote: On 2012-05-21 18:04:16 +0200, Mattias Gaertner wrote: On Mon, 21 May 2012 11:10:48 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: This is the output I'm getting after make clean all in 37377, fpc trunk was compiled a few minutes

Re: [Lazarus] Generics type as parameter

2012-05-13 Thread Leonardo M . Ramé
On 2012-05-13 10:53:42 +0200, Sven Barth wrote: On 13.05.2012 02:49, Leonardo M. Ramé wrote: On 2012-05-12 13:07:18 -0300, Leonardo M. Ramé wrote: Thanks Sven and Michalis. Using the suggestion by Michalis, I got a solution mixing Generics and regular objects. What I'm pursuing

Re: [Lazarus] Generics type as parameter

2012-05-13 Thread Leonardo M . Ramé
On 2012-05-13 13:38:36 +0200, Sven Barth wrote: On 13.05.2012 12:46, Leonardo M. Ramé wrote: On 2012-05-13 10:53:42 +0200, Sven Barth wrote: On 13.05.2012 02:49, Leonardo M. Ramé wrote: On 2012-05-12 13:07:18 -0300, Leonardo M. Ramé wrote: Thanks Sven and Michalis. Using the suggestion

[Lazarus] Generics type as parameter

2012-05-12 Thread Leonardo M . Ramé
, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Generics type as parameter

2012-05-12 Thread Leonardo M . Ramé
On 2012-05-12 17:00:22 +0200, Sven Barth wrote: On 12.05.2012 13:32, Leonardo M. Ramé wrote: I'm trying to work in an abstract way with generics, I need to create a method receiving a un-specialized generic and do some work on it. Example: function ProcessGeneric(AList: TFPGList); begin

Re: [Lazarus] Generics type as parameter

2012-05-12 Thread Leonardo M . Ramé
On 2012-05-12 13:07:18 -0300, Leonardo M. Ramé wrote: Thanks Sven and Michalis. Using the suggestion by Michalis, I got a solution mixing Generics and regular objects. What I'm pursuing is to replace my TCollection based ORM, with a Generics based one, this allow users to write less code

Re: [Lazarus] Rev 37233 too slooow

2012-05-11 Thread Leonardo M . Ramé
On 2012-05-10 21:24:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 22:57:06 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-05-09 19:15:14 -0300, Leonardo M. Ramé wrote: On 2012-05-09 17:25:00 -0300, Leonardo M. Ramé wrote: On 2012-05-09 22:18:26 +0200, Mattias Gaertner

[Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
Hi, does anyone noted the latest revision is to slow, it brings down the whole machine until Lazarus is killed. I'm using Linux x86_64 - Ubuntu 12.04. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 20:56:09 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 15:48:40 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, does anyone noted the latest revision is to slow, it brings down the whole machine until Lazarus is killed. I'm using Linux x86_64 - Ubuntu 12.04

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 21:45:46 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 16:04:56 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-05-09 20:56:09 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 15:48:40 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, does anyone

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 22:18:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 17:00:53 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: [...] I'm using Linux x86_64 - Ubuntu 12.04. [...] cd /path/to/lazarus/directory LIBOVERLAY_SCROLLBAR=0 ./lazarus I've tested

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 17:25:00 -0300, Leonardo M. Ramé wrote: On 2012-05-09 22:18:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 17:00:53 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: [...] I'm using Linux x86_64 - Ubuntu 12.04. [...] cd /path/to/lazarus/directory

[Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
result. Before writing this, I've tested all combinatios of linking configuration (-g, -gw, and so on), with and without external symbols file (-Xg), but the result is allways the same. Does anyone knows if this is related to gdb, Lazarus or Fpc?. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 23:52:06 +0100, Martin wrote: On 09/05/2012 23:41, Leonardo M. Ramé wrote: I'm using Lazarus Fpc compiled from trunk, on Ubuntu 12.04 x86_64. Since today, I found the debugger stopped working, I mean, breakpoints are never reached, also, when I close the applications started

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 19:52:21 -0300, Flávio Etrusco wrote: Hi, Since you said in the other thread that you wiped your Lazarus configuration, did you remember do reconfigure the debugger in the IDE? (a default I'd love to change...) Regards, Flávio Yes, of course. -- Leonardo M. Ramé http

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
trunk, but I don't think it is fixed in any release yet. [1]http://sourceware.org/ml/gdb/2012-03/msg00056.html If you need this option, you need to use gdb 7.3 Well, no, InternalStartBreak = gdsbDefault Maybe gdsbDefault is equal to gbsAddZero in 7.4 ?. Regards, -- Leonardo M. Ramé

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-10 01:13:40 +0100, Martin wrote: On 10/05/2012 01:07, Leonardo M. Ramé wrote: On 2012-05-10 00:53:45 +0100, Martin wrote: Looks like you have set InterlnalStartBreak (from the debugger options / property grid) to gbsAddZero That option does not work with gdb 7.4

Re: [Lazarus] Rev 37233 too slooow

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-09 19:15:14 -0300, Leonardo M. Ramé wrote: On 2012-05-09 17:25:00 -0300, Leonardo M. Ramé wrote: On 2012-05-09 22:18:26 +0200, Mattias Gaertner wrote: On Wed, 9 May 2012 17:00:53 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: [...] I'm using Linux x86_64

Re: [Lazarus] Debugger problems

2012-05-09 Thread Leonardo M . Ramé
On 2012-05-10 01:27:25 +0100, Martin wrote: On 10/05/2012 01:16, Leonardo M. Ramé wrote: Ok, that is weird, I will analyse that further. In the mean time try to set it to gdsbMain. (or gdsbEntry) hopefully that will work around Thank you very much! Martin, changing to gdsbMain did

Re: [Lazarus] Paintbox.Canvas copyrect problem

2012-05-08 Thread Leonardo M . Ramé
On 2012-05-07 17:29:41 -0300, Leonardo M. Ramé wrote: On 2012-05-07 17:12:46 -0300, Leonardo M. Ramé wrote: On 2012-05-07 16:59:06 -0300, Leonardo M. Ramé wrote: Hi, I'm implementing a Copy to clipboard function to an application. It has to copy the contents of a TPaintBox's Canvas

[Lazarus] Paintbox.Canvas copyrect problem

2012-05-07 Thread Leonardo M . Ramé
with the paintbox's canvas. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com attachment: clopboard.JPG-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Paintbox.Canvas copyrect problem

2012-05-07 Thread Leonardo M . Ramé
On 2012-05-07 16:59:06 -0300, Leonardo M. Ramé wrote: Hi, I'm implementing a Copy to clipboard function to an application. It has to copy the contents of a TPaintBox's Canvas into the Clipboard, but found a bug, it copies the windows over the Paintbox too. I've attached a screenshot showing

Re: [Lazarus] Paintbox.Canvas copyrect problem

2012-05-07 Thread Leonardo M . Ramé
On 2012-05-07 17:12:46 -0300, Leonardo M. Ramé wrote: On 2012-05-07 16:59:06 -0300, Leonardo M. Ramé wrote: Hi, I'm implementing a Copy to clipboard function to an application. It has to copy the contents of a TPaintBox's Canvas into the Clipboard, but found a bug, it copies the windows

[Lazarus] Postgresql listen/notify

2012-05-07 Thread Leonardo M . Ramé
Hi, does sql-db allows to capture PostgreSql notify events?. If yes, how?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
library is not multithreaded. Also the shared library was linked against pthreads library, and the main program uses cthreads. I also tried to enclose the Callback inside a CriticalSection but the problem persists. Thanks in advance, -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: I have a similar problem to this: http://www.lazarus.freepascal.org/index.php?topic=10571.0 My main program launches a thread, that loads a shared library, then execute

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 14:49:05 +0200, Mattias Gaertner wrote: On Fri, 6 Apr 2012 09:45:38 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: I have a similar problem

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 14:53:13 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: I have a similar problem to this: http

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 17:59:38 +0400, Sergei Gorelkin wrote: 06.04.2012 16:31, Leonardo M. Ramé пишет: I have a similar problem to this: http://www.lazarus.freepascal.org/index.php?topic=10571.0 My main program launches a thread, that loads a shared library, then execute a function who receives

Re: [Lazarus] Callback and Threads problem

2012-04-06 Thread Leonardo M . Ramé
On 2012-04-06 16:05:34 +0200, Antonio Fortuny wrote: Le 06/04/2012 15:04, Leonardo M. Ramé a écrit : On 2012-04-06 14:53:13 +0200, michael.vancann...@wisa.be wrote: On Fri, 6 Apr 2012, Leonardo M. Ramé wrote: On 2012-04-06 14:39:10 +0200, michael.vancann...@wisa.be wrote: On Fri, 6

[Lazarus] Internal error 2011090501

2012-04-05 Thread Leonardo M . Ramé
» make: *** [lazbuild] Error 2 Any hint? -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Internal error 2011090501

2012-04-05 Thread Leonardo M . Ramé
On 2012-04-05 20:20:41 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to compile trunk using FPC 2.7.1 from today on Linux x86_64 and I'm getting this: Free Pascal Compiler version 2.7.1 [2012/04/05] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86

[Lazarus] Lazbuild search path

2012-02-17 Thread Leonardo M . Ramé
that? Thanks in advance, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazbuild search path

2012-02-17 Thread Leonardo M . Ramé
On 2012-02-17 19:57:47 +0100, Mattias Gaertner wrote: On Fri, 17 Feb 2012 15:29:45 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm trying to use Lazbuild from a cron job in a server to create nightly builds. Our projects are developed on machines with different paths

Re: [Lazarus] Lazbuild search path

2012-02-17 Thread Leonardo M . Ramé
On 2012-02-17 21:39:59 +0100, Mattias Gaertner wrote: On Fri, 17 Feb 2012 17:28:13 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: On 2012-02-17 19:57:47 +0100, Mattias Gaertner wrote: On Fri, 17 Feb 2012 15:29:45 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm trying

Re: [Lazarus] Looking for a reporting solution

2011-11-29 Thread Leonardo M . Ramé
On 2011-11-29 16:29:19 +0100, Felipe Monteiro de Carvalho wrote: On Sun, Nov 27, 2011 at 11:54 PM, Leonardo M. Ramé l.r...@griensu.com wrote: Going further, I'm thinking of parsing the RTF files and create a PDF using fpVectorial, but I don't know how to handle page breaks, headers

Re: [Lazarus] Looking for a reporting solution

2011-11-29 Thread Leonardo M . Ramé
On 2011-11-29 19:33:26 +0300, Vladimir Zhirov wrote: Leonardo M. Ramé wrote: I need to let the user create a block of rich text with images for a header and footer, then a variable size block of rich text for the main content. Joining all three blocks forms a document, this document can

[Lazarus] DrawFPVectorialToCanvas differs from SVG

2011-11-29 Thread Leonardo M . Ramé
in english.'); VecDoc.WriteToFile('multi_test_1.svg', vfSVG); DrawFPVectorialToCanvas(Vec, PaintBox1.canvas, 0, PaintBox1.Height - 100, 1, -1); finally VecDoc.Free; end; end; -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Working with RTF

2011-11-16 Thread Leonardo M . Ramé
for Delphi, take a look at this migrated package: http://wiki.lazarus.freepascal.org/RichView P.S: please, give us your feedback, in a near future project I'll have to migrate a Delphi app with this component. -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Working with RTF

2011-11-16 Thread Leonardo M . Ramé
On 2011-11-16 21:56:12 -0200, Antônio wrote: I have just installed RichView and my first operation (RichView1.AddText('abcd', 0);) does nothing. Antônio Good to know. Did you try this?: http://wiki.lazarus.freepascal.org/RichMemo -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Object detection

2011-11-06 Thread Leonardo M . Ramé
On 2011-11-02 15:26:11 -0300, Leonardo M. Ramé wrote: Hi, I'm looking for a library/routine for object detection in bitmaps. I need to process a black and white image (1bit) in low resolution and detect all white objects over a black background, as the attached image shows. Apart from

[Lazarus] Object detection

2011-11-02 Thread Leonardo M . Ramé
in Pascal?. Thanks in advance, -- Leonardo M. Ramé http://leonardorame.blogspot.com attachment: detection.png-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Object detection

2011-11-02 Thread Leonardo M . Ramé
Mitov --- Mitov Software www.mitov.com --- Thanks Boian, is it OpenSource?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus

[Lazarus] Lazarus application showcase

2011-10-20 Thread Leonardo M . Ramé
Hi, I've uploaded a video of a Dicom Viewer i've written using Lazarus. I think this could be nice to showcase Lazarus capabilities. Please, take a look: [url]http://www.youtube.com/watch?v=hc1RT-s-dw0[/url] -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Lazarus application showcase

2011-10-20 Thread Leonardo M . Ramé
On 2011-10-20 15:59:16 -0300, Marcos Douglas wrote: On Thu, Oct 20, 2011 at 3:24 PM, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I've uploaded a video of a Dicom Viewer i've written using Lazarus. I think this could be nice to showcase Lazarus capabilities. Please, take a look

Re: [Lazarus] Lazarus application showcase

2011-10-20 Thread Leonardo M . Ramé
On 2011-10-20 22:00:00 +0200, duilio foschi wrote: kudos to your skills ! Duilio Kudos to the Lazarus FreePascal team!. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Cannot compile trunk

2011-10-19 Thread Leonardo M . Ramé
-- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Cannot compile trunk

2011-10-19 Thread Leonardo M . Ramé
On 2011-10-19 11:13:13 -0300, Leonardo M. Ramé wrote: Hi, I'm trying to compile Trunk with fpc 2.7.1 (also from trunk), and I'm getting this while trying to do a make clean all: lconvencoding.pas(6123,8) Hint: Conversion between ordinals and pointers is not portable lconvencoding.pas

Re: [Lazarus] Cannot compile trunk

2011-10-19 Thread Leonardo M . Ramé
On 2011-10-19 16:44:50 +0200, Felipe Monteiro de Carvalho wrote: Does it compile with rev 32982 (latest svn)? Yes, thanks!. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Disabling TAction while typing

2011-10-07 Thread Leonardo M . Ramé
, the action is executed, instead of placing that character in my TEdit. How can I disable actions while typing in TEdit?. Thanks in advance, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Disabling TAction while typing

2011-10-07 Thread Leonardo M . Ramé
On 2011-10-07 20:34:08 +0200, Michael Van Canneyt wrote: On Fri, 7 Oct 2011, Leonardo M. Ramé wrote: Hi, I have a form with an ActionList, and some actions have single-character shortcuts. For example, when the user type the character o it execute an action. Also, in some situations

[Lazarus] Thread debugging problem

2011-09-28 Thread Leonardo M . Ramé
: ~[Cambiando a Thread 0x7fffecd9a700 (LWP 16197)]\n [WARNING] Debugger: Unexpected async-record: =thread-selected,id=4 -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Thread debugging problem

2011-09-28 Thread Leonardo M . Ramé
On 2011-09-28 11:04:20 -0300, Leonardo M. Ramé wrote: Hi, since updating my Lazarus version from svn (I was using a one month old version) I'm getting a SIGABRT exception in a thread. The exception apparently is raised while adding items to a TCollection that is created in the main thread

[Lazarus] Thread finalization

2011-09-21 Thread Leonardo M . Ramé
FMyThread.Free; end; destructor TMyThread.destroy; begin // destroy internal objects inherited destroy; // -- The app gets locked here!! end; Why is this happening?, am I doing something wrong?. -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Thread finalization

2011-09-21 Thread Leonardo M . Ramé
On 2011-09-21 14:55:06 +0200, Sven Barth wrote: Am 21.09.2011 14:31, schrieb Leonardo M. Ramé: I'm having a rough time with Threads. When my app starts, it creates an instance of a TThread that loads a bunch of images. That TThread instance can be destroyed in two ways: 1) When

Re: [Lazarus] Thread finalization

2011-09-21 Thread Leonardo M . Ramé
); A A FreeAndNil(FMyThread); A end; try A A FMyThread.Terminate; A A FMyThread.WaitFor; A A A -- Zaher Dirkey Zahker, using WaitFor blocks the app. Also, as I said in the original post, that part is working ok. -- Leonardo M. Ramé http

Re: [Lazarus] Thread finalization

2011-09-21 Thread Leonardo M . Ramé
communicate the main form that it has finished, then the main form can destroy it, without using a Timer. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] Images for Lazarus

2011-09-20 Thread Leonardo M . Ramé
Hi, I installed the package ImagesForLazarus but there's no new tab nor icon added to the toolbar. What does this package do?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Images for Lazarus

2011-09-20 Thread Leonardo M . Ramé
On 2011-09-20 14:55:53 +0200, Mattias Gaertner wrote: On Tue, 20 Sep 2011 09:45:05 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I installed the package ImagesForLazarus but there's no new tab nor icon added to the toolbar. Correct. What does this package do

<    1   2   3   4   5   >