Re: [Lazarus] Write to UNC or mapped drive

2016-05-26 Thread Leonardo M . Ramé
er', 'pass') then begin NetUseAdd('X:', '\\server\directory', 'remoteuser', 'remotepass', lAccess); // write files to X:\ NetUseDelete('X:'); end; end; Regards, -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(3

[Lazarus] Write to UNC or mapped drive

2016-05-24 Thread Leonardo M . Ramé
Hi, My app is a CGI running on Windows2012 (IIS 7.0), it needs to save a file to a remote UNC or Mapped drive, but when I check using DirectoryExists in both cases I get False, but of course the UNC and mapped drive exists. Any hint?. Regards, -- Leonardo M. Ramé Medical IT - Griensu S.A. Av

[Lazarus] test

2016-05-05 Thread Leonardo M . Ramé
-- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (011) 40871877 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread Leonardo M . Ramé
El 15/04/16 a las 16:33, silvioprog escribió: On Fri, Apr 15, 2016 at 4:25 PM, Leonardo M. Ramé <l.r...@griensu.com <mailto:l.r...@griensu.com>> wrote: [...] It works pefectly por param=value&..., but I don't know how to parse array type values. example: ?filters[0

Re: [Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread Leonardo M . Ramé
El 15/04/16 a las 16:22, Michael Van Canneyt escribió: On Fri, 15 Apr 2016, Leonardo M. Ramé wrote: Hi, I need to extract the field values of a GET query of type: http://127.0.0.1/cgi-bin/test.cgi?fields[1]=f1value[2]=f2value Is there a way to handle this apart from

[Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread Leonardo M . Ramé
Hi, I need to extract the field values of a GET query of type: http://127.0.0.1/cgi-bin/test.cgi?fields[1]=f1value[2]=f2value Is there a way to handle this apart from HttpRequest.QueryFields? Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Raspberry Pi 3 Now Available

2016-02-29 Thread Leonardo M . Ramé
El 29/02/16 a las 12:48, Dennis escribió: The speed of hardware improvement is so impressive and at the same time so scary. For those of us who have spent so much time optimizing the software so as to run smoothly on earlier primitive hardware, our effect seems so obsolete and silly from

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-17 Thread Leonardo M . Ramé
etty well on low end PCs.. 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] TOracleConnector connect as SYSDBA

2016-01-20 Thread Leonardo M . Ramé
El 19/01/16 a las 15:55, Leonardo M. Ramé escribió: Hi, does anyone know how to connect to Oracle as SYSDBA?, I'm getting "ORA-01017: invalid username/password; logon denied" when I set these params: Hostname: 127.0.0.1 Database: MYDB User: sys as SYSDBA Pass: MYPASSWORD Ro

[Lazarus] TOracleConnector connect as SYSDBA

2016-01-19 Thread Leonardo M . Ramé
apparently-) If, instead of using "sys as SYSDBA" I use "sys" alone, I get "ORA-28009: connection as SYS should be as SYSDBA or SYSOPER". Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list L

Re: [Lazarus] Different behavior of method and class variables

2015-11-30 Thread Leonardo M . Ramé
Please, forget about this. I was using a header for a different version of the dll. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] Different behavior of method and class variables

2015-11-29 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] Codetools and specialize

2015-11-16 Thread Leonardo M . Ramé
El 16/11/15 a las 09:18, Mattias Gaertner escribió: On Mon, 16 Nov 2015 08:16:18 -0300 Leonardo M. Ramé <l.r...@griensu.com> wrote: Hi, I'm trying to implement a method of an specialized class, but when I type ctrl+space the IDE shows "Error: Identifier not found: specialize&

[Lazarus] Codetools and specialize

2015-11-16 Thread Leonardo M . Ramé
on) public procedure Post; override; end; And the implementation: procedure TActListStudies.Post; begin // here CTRL+SPACE raises the error. Write('Your content here ...'); end; -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus ma

[Lazarus] File is locked?

2015-11-14 Thread Leonardo M . Ramé
raising an "Unable to open file" error. How can I check if the file is locked before reading its contents?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepasca

Re: [Lazarus] TextHint, TextHintFontColor, TextHintFontStyle

2015-11-08 Thread Leonardo M . Ramé
El 08/11/15 a las 11:08, Bart escribió: On 11/8/15, Leonardo M. Ramé <l.r...@griensu.com> wrote: Hi, I noted there are new (to me) properties in some components, what's the difference between those and the good old Hint property?. TextHint fills the TCustomEdit with the value as

[Lazarus] TextHint, TextHintFontColor, TextHintFontStyle

2015-11-08 Thread Leonardo M . Ramé
Hi, I noted there are new (to me) properties in some components, what's the difference between those and the good old Hint property?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] External SIGSEGV (random) when assigning TBookmark

2015-11-03 Thread Leonardo M . Ramé
El 03/11/15 a las 04:40, Michael Van Canneyt escribió: On Mon, 2 Nov 2015, Leonardo M. Ramé wrote: El 01/11/15 a las 09:25, Leonardo M. Ramé escribió: Hi, I don't use data aware controls too often, but as I'm updating a legacy application I have to use them. ... I finally solved

Re: [Lazarus] External SIGSEGV (random) when assigning TBookmark

2015-11-02 Thread Leonardo M . Ramé
El 01/11/15 a las 09:25, Leonardo M. Ramé escribió: Hi, I don't use data aware controls too often, but as I'm updating a legacy application I have to use them. ... I finally solved this by getting the value of a primary key, then after TSQLQuery.refresh I do a locate for that key, works like

[Lazarus] External SIGSEGV (random) when assigning TBookmark

2015-11-01 Thread Leonardo M . Ramé
lBookmark; <-- Random SIGSEGV StatusBar1.Panels[1].Text := lOldStatus; end; -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (

Re: [Lazarus] Printing on Raspberry Pi

2015-10-30 Thread Leonardo M . Ramé
El 29/10/15 a las 12:24, Koenraad Lelong escribió: Hi, I'm trying to print a lazreport on a Raspberry Pi2. It's not working, I get : Bus Error or misaligned data access Press OK to ignore ... Pressing OK does nothing. Any suggestions to solve this ? I also tried the example from

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-12 Thread Leonardo M . Ramé
usion, etc. -- 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] PostgreSql: unexpected EOF on client connection with an open transaction

2015-09-02 Thread Leonardo M . Ramé
Do you have a second transaction object (e.g. default transaction) ? If so, that's probably it. Michael. No, just a TSQLTransaction attached to the TPQConnection object. I commented all my code but the PQConnection1.Connected := True, and I noted I get the "could not receive data from

Re: [Lazarus] PostgreSql: unexpected EOF on client connection with an open transaction

2015-09-02 Thread Leonardo M . Ramé
El 02/09/15 a las 16:11, Leonardo M. Ramé escribió: El 02/09/15 a las 16:00, Michael Van Canneyt escribió: Well, that is why I asked how it is closed. Maybe it was closed a different way in your CGI, without properly closing it. The strange thing is that it reports an active transaction. Do

Re: [Lazarus] PostgreSql: unexpected EOF on client connection with an open transaction

2015-09-02 Thread Leonardo M . Ramé
El 02/09/15 a las 15:09, Michael Van Canneyt escribió: On Wed, 2 Sep 2015, Leonardo M. Ramé wrote: Do you have a second transaction object (e.g. default transaction) ? If so, that's probably it. Michael. Yes, I added an onDestroy event to the datamodule containing the PQConnection

Re: [Lazarus] PostgreSql: unexpected EOF on client connection with an open transaction

2015-09-02 Thread Leonardo M . Ramé
El 02/09/15 a las 16:00, Michael Van Canneyt escribió: Well, that is why I asked how it is closed. Maybe it was closed a different way in your CGI, without properly closing it. The strange thing is that it reports an active transaction. Do you open a dataset ? If so, try setting

Re: [Lazarus] PostgreSql: unexpected EOF on client connection with an open transaction

2015-09-02 Thread Leonardo M . Ramé
El 02/09/15 a las 10:28, Marc Santhoff escribió: Only guessing: maybe the transaction object is set to "autocommit" and the .Commit statement produces the error? It's configured to caRollBack. -- ___ Lazarus mailing list

[Lazarus] PostgreSql: unexpected EOF on client connection with an open transaction

2015-09-01 Thread Leonardo M . Ramé
). 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] Protocol Buffers

2015-07-25 Thread Leonardo M. Ramé
On 25/07/15 06:31, Michael Van Canneyt wrote: On Fri, 24 Jul 2015, Leonardo M. Ramé wrote: Hi, does anyone know if there's a FreePascal implementation of Protocol Buffers, it seems to fit perfectly in on use case I'm working on: https://developers.google.com/protocol-buffers/ Yes

Re: [Lazarus] Protocol Buffers

2015-07-25 Thread Leonardo M. Ramé
, for example, the sender is a Java application, and the receiver is a FreePascal one, so, using a standard protocol, like Google's Protocol Buffers seems to fit very well in this particular scenario. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

[Lazarus] Protocol Buffers

2015-07-24 Thread Leonardo M. Ramé
Hi, does anyone know if there's a FreePascal implementation of Protocol Buffers, it seems to fit perfectly in on use case I'm working on: https://developers.google.com/protocol-buffers/ Regards, -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel

Re: [Lazarus] Base64 broken in json?

2015-06-02 Thread Leonardo M. Ramé
El 02/06/15 a las 09:21, Michael Van Canneyt escibió: On Tue, 2 Jun 2015, Leonardo M. Ramé wrote: You cannot copypaste that, because there may be escaped characters in it. If you are doing that, you are doing it wrong. Hmm. That's the problem

Re: [Lazarus] Base64 broken in json?

2015-06-02 Thread Leonardo M. Ramé
El 02/06/15 a las 04:20, Michael Van Canneyt escibió: On Mon, 1 Jun 2015, Leonardo M. Ramé wrote: El 30/05/15 a las 13:29, silvioprog escibió: On Sat, May 30, 2015 at 12:14 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: [Window Title] project1 [Content] { var1

Re: [Lazarus] Base64 broken in json?

2015-06-01 Thread Leonardo M. Ramé
El 30/05/15 a las 13:29, silvioprog escibió: On Sat, May 30, 2015 at 12:14 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: [Window Title] project1 [Content] { var1 : bGVvbmFyZG8= } - leonardo [OK] But after take a look at your code, it seems better to use

Re: [Lazarus] Base64 broken in json?

2015-05-30 Thread Leonardo M. Ramé
On 30/05/15 05:48, Michael Van Canneyt wrote: On Fri, 29 May 2015, Leonardo M. Ramé wrote: Hi, does anyone know if when adding a base64 encoded string to an TJsonObject and calling AsJson method, the base64 is broken? Normally not. I did try to decode (with base64 -d command) and I'm

[Lazarus] Base64 broken in json?

2015-05-29 Thread Leonardo M. Ramé
errors, the file encoded is about 1.5mb. -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (011) 40871877 -- ___ Lazarus mailing list

Re: [Lazarus] Base64 broken in json?

2015-05-29 Thread Leonardo M. Ramé
El 29/05/15 a las 14:55, Leonardo M. Ramé escibió: Hi, does anyone know if when adding a base64 encoded string to an TJsonObject and calling AsJson method, the base64 is broken? I did try to decode (with base64 -d command) and I'm getting errors when trying to decode the base64 string contained

Re: [Lazarus] Inserting enum type into Postgresql

2015-05-15 Thread Leonardo M. Ramé
El 15/05/15 a las 12:26, Michael Van Canneyt escibió: On Fri, 15 May 2015, Leonardo M. Ramé wrote: Hi, I need to insert a value into a custom type column in a PostgreSql database. The type was created using this: create type doc_type as enum('pdf', 'rtf', 'html', 'doc', 'docx', 'xls

[Lazarus] Inserting enum type into Postgresql

2015-05-15 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] Error: Duplicate identifier $ansistrrec18

2015-04-28 Thread Leonardo M. Ramé
El 28/04/15 a las 07:16, Leonardo M. Ramé escibió: Hi, I'm trying to build a CGI program using BrookFramework in FPC 3.1.1 and Lazarus compiled today but I'm getting this error: Error: Duplicate identifier $ansistrrec18 That identifier of course is not a variable, nor unit name, and it can't

[Lazarus] Error: Duplicate identifier $ansistrrec18

2015-04-28 Thread Leonardo M. Ramé
, the error happens in a method of a Generic Class defined this way: generic TBaseGActionT = class(specialize TBrookGActionT) ... end; Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Impressive web development

2015-04-17 Thread Leonardo M. Ramé
Nah, for web development leave me with Vim and I'll be happy. El 14/04/15 a las 17:32, Graeme Geldenhuys escibió: Hi, I just came across this on Google+ - probably the most impressive web app I've ever seen. It is called Codenvy and is a fully functional zero-configuration integrated

Re: [Lazarus] Cross Codebot surface drawing examples

2015-03-26 Thread Leonardo M. Ramé
, please, include some introduction about Cross Codebot, some people (like me) doesn't know what it is. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Play video from memory

2015-03-06 Thread Leonardo M. Ramé
know how to tell MPLAYER to show the video in a specific window? (using WINDOWS, and glutCreateWindow). thanks Philippe De: Leonardo M. Ramé l.r...@griensu.com Enviado: quinta-feira, 5 de março de 2015 17:44 Para: lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Play video from memory

2015-03-05 Thread Leonardo M. Ramé
It looks like MPlayer can do this: http://www.mplayerhq.hu/DOCS/HTML/en/streaming.html El 04/03/15 a las 13:29, aradeonas escibió: Hi, Any one know a library or way to buffer video file into memory and then pass it to player? Any simple player do the job but it should support a way to open

Re: [Lazarus] Play video from memory

2015-03-05 Thread Leonardo M. Ramé
seem there is a way to pass memory to it or I couldn't find out how. Do you know? Regards, Ara On Thu, Mar 5, 2015, at 11:40 AM, Leonardo M. Ramé wrote: It looks like MPlayer can do this: http://www.mplayerhq.hu/DOCS/HTML/en/streaming.html El 04/03/15 a las 13:29, aradeonas escibió: Hi, Any one

[Lazarus] Missing (compatible) underlying dataset, can not open

2014-11-27 Thread Leonardo M. Ramé
problems in PostgreSql 9.3 both from pgAdmin and psql. Any hint?. -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (011) 40871877

Re: [Lazarus] Missing (compatible) underlying dataset, can not open

2014-11-27 Thread Leonardo M. Ramé
El 27/11/14 a las 12:26, Michael Van Canneyt escibió: On Thu, 27 Nov 2014, Leonardo M. Ramé wrote: Hi, I'm trying to execute this query, but I'm getting Missing (compatible) underlying dataset, can not open. lQuery.DataBase := PQConnection1; lQuery.ParseSQL:= false; lQuery.SQL.Text

[Lazarus] OT: Fast image viewer

2014-11-05 Thread Leonardo M. Ramé
Hi, I'm lookig for a fast-small JPEG/BMP image viewer with Zoom, Pan, and Print (if possible), to be launched from my application and passing a File param or better a Stream to be opened. Can anyone recommend such viewer?. I need it for Windows. Regards, -- Leonardo M. Ramé Medical

Re: [Lazarus] OT: Fast image viewer

2014-11-05 Thread Leonardo M. Ramé
El 05/11/14 a las 15:08, Frederic Da Vitoria escibió: 2014-11-05 13:24 GMT+01:00 Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com: Hi, I'm lookig for a fast-small JPEG/BMP image viewer with Zoom, Pan, and Print (if possible), to be launched from my application

Re: [Lazarus] TAChart cannot zoom

2014-10-22 Thread Leonardo M. Ramé
/TAChart_Tutorial:_Function_Series * http://wiki.lazarus.freepascal.org/TAChart_Tutorial:_ColorMapSeries,_Zooming Thanks Werner, I'll take a look at it. -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979

[Lazarus] TAChart cannot zoom

2014-10-21 Thread Leonardo M. Ramé
Hi, I don't know what I did, but I no longer can zoom in / zoom out (by dragging the mouse pointer) my chart. If I draw 1000 data points, they all are drawn into the chart, but I only want to display part of that data, for example 100 points. Here's the definition of my TAChart object

Re: [Lazarus] TProcess.Input hangs

2014-10-19 Thread Leonardo M. Ramé
On 17/10/14 20:54, Andrew Haines wrote: On 10/17/14 11:46, Leonardo M. Ramé wrote: Hi, I'm using this code to convert WAV files to MP3 on the fly, using lame. It was working great until today. It looks like this code has problems with large files sent to stdin. lProcess := TProcess.Create(nil

[Lazarus] TProcess.Input hangs

2014-10-17 Thread Leonardo M. Ramé
:= lProcess.Input.Write(lWav.Memory^, 500); if lReadCount 500 then lReadCount := 0; until lReadCount = 0; But also hangs before lReadCount 500. Any hint? -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351

[Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Leonardo M. Ramé
as one app, instead of separated windows?. 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] Alt + tab IDE Windows

2014-09-26 Thread Leonardo M. Ramé
El 26/09/14 a las 10:52, William Ferreira escibió: On IDE Options, try to enable 'Show single button in TaskBar'. Maybe could help... Yes, I tried that before asking, but sadly it does exactly the same. -- Leonardo M. Ramé http://leonardorame.blogspot.com

[Lazarus] Anchordocking

2014-09-25 Thread Leonardo M. Ramé
Lazarus. -- 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] Anchordocking

2014-09-25 Thread Leonardo M. Ramé
El 25/09/14 a las 11:12, Juha Manninen escibió: On Thursday, September 25, 2014, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, from time to time I check this bug request: http://mantis.freepascal.org/__view.php?id=26646 http://mantis.freepascal.org

Re: [Lazarus] Anchordocking

2014-09-25 Thread Leonardo M. Ramé
El 25/09/14 a las 13:07, Juha Manninen escibió: On Thursday, September 25, 2014, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: I also wouldn't care about docked windows if at least the ide could remember window position. Is it possible to save the window

[Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Leonardo M. Ramé
for example, the default behavior is displaying a line at 10 or 20, but what if I want to display the line just at 13?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TAChart DataPointCrossHairTool

2014-09-21 Thread Leonardo M. Ramé
the correct value (approx. 3.95). -- 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] TAChart DataPointCrossHairTool

2014-09-21 Thread Leonardo M. Ramé
to the last point in my series, and is drawn exactly at the same position of the Close Y Point. For this I used GetYImgValue( Index of last point ) of the series. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

[Lazarus] Hint as text over TAChart

2014-09-20 Thread Leonardo M. Ramé
DataPointHintToolPosition, but on other events, such as Form.onResize. One question is, is this the correct way to display text over a TAChart?, I don't like to add a TLabel over the chart. The second question, how can I force a call to TAChart.onAftertPaint?. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Hint as text over TAChart

2014-09-20 Thread Leonardo M. Ramé
, thanks for the example. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TAchart frame left and top values

2014-09-20 Thread Leonardo M. Ramé
I need to draw text just at the top left corner of a chart, is there a property to allow me to know the top, left (and of course right and bottom) points of the frame containing the chart?. I attached a screenshot showing what I'm looking for. -- Leonardo M. Ramé http

Re: [Lazarus] TAChart CandleStick Chart

2014-09-17 Thread Leonardo M. Ramé
a look at the code in the demo project. And, finally, I modified the AddXOHLC method such that it automatically initializes the size of the YCount of the chart source if the current size would not be enough. Great!, I'll take a look later today. -- Leonardo M. Ramé Medical IT - Griensu S.A. Av

Re: [Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Leonardo M. Ramé
horizontal lines and an horizontal line in the middle of the candle, maybe adding a couple of boolean properties like TopMark, BottomMark and MiddleMark to the Box/Whisker chart will let use it as a CandleStick chart. -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] TAChart CandleStick Chart

2014-09-15 Thread Leonardo M. Ramé
chart type is Heikin Ashi, a variation of CandleStick. -- Leonardo M. Ramé Medical IT - Griensu S.A. Av. Colón 636 - Piso 8 Of. A X5000EPT -- Córdoba Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979 int. 19 Cel.: +54 9 (011) 40871877 -- ___ Lazarus

Re: [Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Leonardo M. Ramé
left) and ends in the highest value of my data. How can I change the starting value, to the minimum value of the data source?. Currently all the data poins are displayed at the top part of the chart, and from 0 to 70 is empty. -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Leonardo M. Ramé
On 14/09/14 08:35, Leonardo M. Ramé wrote: On 14/09/14 06:57, Werner Pamler wrote: Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the DayOfWeek of their date is 6 (Friday) or 7 (Saturday

[Lazarus] TAChart CandleStick Chart

2014-09-14 Thread Leonardo M. Ramé
; // set border black ADrawer.SetPenParams(p.Style, clBlack); DoLine(x, yhigh, x, ylow); DoRect(x - tw, yopen, x + tw, yclose); end; end; I attached a screenshot of the result. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus

[Lazarus] TAChart OHLC

2014-09-13 Thread Leonardo M. Ramé
. Also I attached the file aapl.csv I'm using to feed the data. -- Leonardo M. Ramé http://leonardorame.blogspot.com Date,Open,High,Low,Close,Volume 10-Sep-14,98.01,101.11,97.76,101.00,100869587 9-Sep-14,99.08,103.08,96.14,97.99,189846255 8-Sep-14,99.30,99.31,98.05,98.36,46356742 5-Sep

[Lazarus] TAChart Date Axis Remove Weekends

2014-09-13 Thread Leonardo M. Ramé
Hi, I'm using TAChart to plot OHLC Stock prices and would like to ignore weekends. Is it possible to do that?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] StrToDate and DefaultFormatSettings

2014-09-12 Thread Leonardo M. Ramé
EConvert exception. Am I missing something?. -- 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] Anchordocking on Lazarus 1.3

2014-08-29 Thread Leonardo M. Ramé
El 29/08/14 a las 06:36, Mattias Gaertner escibió: On Thu, 28 Aug 2014 14:45:36 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, since a couple of months ago I noted Anchordocking is not working as expected. I can arrange a nice layout, and save it as my default layout, but when I start

Re: [Lazarus] Anchordocking on Lazarus 1.3

2014-08-29 Thread Leonardo M. Ramé
El 29/08/14 a las 09:46, Mattias Gaertner escibió: On Fri, 29 Aug 2014 09:11:07 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: El 29/08/14 a las 06:36, Mattias Gaertner escibió: On Thu, 28 Aug 2014 14:45:36 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, since a couple of months ago

[Lazarus] Anchordocking on Lazarus 1.3

2014-08-28 Thread Leonardo M. Ramé
Hi, since a couple of months ago I noted Anchordocking is not working as expected. I can arrange a nice layout, and save it as my default layout, but when I start Lazarus again, it was commpletely messed up. Does anyone faced the same issue?. Regards, -- Leonardo M. Ramé http

Re: [Lazarus] Translating php://input into fcl-web

2014-08-24 Thread Leonardo M. Ramé
On 24/08/14 00:08, silvioprog wrote: Oops, On Sun, Aug 24, 2014 at 12:02 AM, silvioprog silviop...@gmail.com mailto:silviop...@gmail.com wrote: On Sat, Aug 23, 2014 at 9:07 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: [...] Thank you very

Re: [Lazarus] Translating php://input into fcl-web

2014-08-24 Thread Leonardo M. Ramé
On 24/08/14 07:31, Leonardo M. Ramé wrote: On 24/08/14 00:08, silvioprog wrote: Oops, On Sun, Aug 24, 2014 at 12:02 AM, silvioprog silviop...@gmail.com mailto:silviop...@gmail.com wrote: On Sat, Aug 23, 2014 at 9:07 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com

[Lazarus] Translating php://input into fcl-web

2014-08-23 Thread Leonardo M. Ramé
/output.wav'); finally lWav.Free; end; end; But the output.wav result is corrupt, while the php one is correct. Any hint?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Translating php://input into fcl-web

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 17:18, silvioprog wrote: On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content = file_get_contents('php://__input'); $fh

Re: [Lazarus] Translating php://input into fcl-web

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 18:40, Leonardo M. Ramé wrote: On 23/08/14 17:18, silvioprog wrote: On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content

Re: [Lazarus] Translating php://input into fcl-web

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 18:40, Leonardo M. Ramé wrote: On 23/08/14 17:18, silvioprog wrote: On Sat, Aug 23, 2014 at 3:12 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: Hi, I'm trying to translate this PHP code to fcl-web (actually brookframework): ?php $content

Re: [Lazarus] Translating php://input into fcl-web

2014-08-23 Thread Leonardo M. Ramé
On 23/08/14 20:54, silvioprog wrote: On Sat, Aug 23, 2014 at 8:09 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: I made an example using fcl-web (without Brook) and the problem persists. [...] Strange. I made some changes to work here in my PC and it worked fine

[Lazarus] Cannot find -lpthread

2014-08-21 Thread Leonardo M. Ramé
encontrar -lc fpmake.pp(44,1) Error: Error while linking Does anyone know which package I'm missing? I've installed build-essential and libpthread-stubs0, but it still cannot find pthread... Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Leonardo M. Ramé
El 21/08/14 a las 12:34, Henry Vermaak escibió: On Thu, Aug 21, 2014 at 12:22:45PM -0300, Leonardo M. Ramé wrote: Hi, I'm trying to build fpc and lazarus from sources in XUbuntu 14.04. While trying to link fpc I get this: /usr/bin/ld: aviso: link.res contiene secciones de salida. ¿Olvidó -T

Re: [Lazarus] Cannot find -lpthread

2014-08-21 Thread Leonardo M. Ramé
... Yes I have installed libpthread-stubs0-dev (libpthread-dev does not exists here), but the error persists. I need to know what is that something similar package needed by fpc... -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-04 Thread Leonardo M . Ramé
On 2014-07-04 08:22:30 +0200, Michael Van Canneyt wrote: On Thu, 3 Jul 2014, silvioprog wrote: 2014-07-03 17:33 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: [...] Mmm, no, too fast. Maybe the problem is on the client side. I'm using Synapse library as client

[Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread Leonardo M . Ramé
to download the file again, a code 500 is returned. Is there a way to detect the connection break and destroy the stream gracefully?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread Leonardo M . Ramé
On 2014-07-03 17:20:53 -0300, silvioprog wrote: 2014-07-03 16:51 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: Hi, I have a CGI program that serves some files using this code in an action: AResponse.ContentStream := TFileStream.Create(lImagePath, fmOpenRead); The problem I'm facing

Re: [Lazarus] CGI Response.ContentStream client break

2014-07-03 Thread Leonardo M . Ramé
On 2014-07-03 17:28:41 -0300, Leonardo M. Ramé wrote: On 2014-07-03 17:20:53 -0300, silvioprog wrote: 2014-07-03 16:51 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: Hi, I have a CGI program that serves some files using this code in an action: AResponse.ContentStream

[Lazarus] Errors while linking

2014-06-19 Thread Leonardo M . Ramé
reference to `DBG_$BUTTONS_$$_TSpeedButton' dlglayout.pas:(.debug_info+0x10a): undefined reference to `DBG_$BUTTONS_$$_TSpeedButton' more similar errors Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list

Re: [Lazarus] Errors while linking

2014-06-19 Thread Leonardo M . Ramé
On 2014-06-19 17:26:40 +0200, Mattias Gaertner wrote: On Thu, 19 Jun 2014 11:49:46 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi People, while trying to compile an app that uses BGRabitmap I've got many linking errors when compiling with debugging information enabled. I'm using

Re: [Lazarus] Errors while linking

2014-06-19 Thread Leonardo M . Ramé
On 2014-06-19 17:32:00 +0200, Reinier Olislagers wrote: On 19/06/2014 16:49, Leonardo M. Ramé wrote: I'm using Lazarus and FPC from trunk (updated today) on a Ubuntu 12.04 64bit machine. Here's the output with errors: /home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux

[Lazarus] Run command disabled

2014-06-11 Thread Leonardo M . Ramé
Hi people, I don't know what I did but the Run command (F9) is disabled in my program. Do you know how can I enable it again?. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Run command disabled

2014-06-11 Thread Leonardo M . Ramé
On 2014-06-11 09:27:14 -0300, silvioprog wrote: 2014-06-11 9:06 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: Hi people, I don't know what I did but the Run command (F9) is disabled in my program. Do you know how can I enable it again?. Shift+Ctrl+F11; Project Options Miscellaneous

Re: [Lazarus] [ANN] Brook 3.0.0 release!

2014-05-22 Thread Leonardo M . Ramé
On 2014-05-18 23:45:23 -0300, silvioprog wrote: 2014-05-15 8:45 GMT-03:00 Leonardo M. Ramé l.r...@griensu.com: On 2014-05-13 20:10:20 -0300, silvioprog wrote: The Brook team is glad to announce the release 3.0.0. This version was compiled and tested successfully with Free Pascal

Re: [Lazarus] [ANN] Brook 3.0.0 release!

2014-05-15 Thread Leonardo M . Ramé
in the home page or in the Wiki?. I know we are programmers and shouldn't have problems reading the git diff, but I'll be easy for us to know what additions and improvements you made. Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com

[Lazarus] BSD Magazine featuring Free Pascal!

2014-04-27 Thread Leonardo M. Ramé
Congrats /Michael Van Canneyt/ for your article in the BSD Magazine april issue!. Please download the latest edition from: http://bsdmag.org/ Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Prevent visual updates

2014-03-30 Thread Leonardo M. Ramé
effect Functions BeginUpdate/EndUpdate exist. Just use them. Did you try setting DoubleBuffererd := True; in the Form OnCreate event?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus

  1   2   3   4   5   >