[Lazarus] Custom Form design time rendering problem

2015-06-01 Thread Horacio Jamilis
Hi, I am migrating a Delphi system to Lazarus. Each object of the system is represented in a TFrame. The declaration of TSystemObject (base object/frame) is: {$ifdef BASE_SYSTEMOBJECT_ON_OBJECT} TSystemObject = class(TObject) {$else} TSystemObject = class(TFrame) {$endif} public cons

Re: [Lazarus] Detecting X minutes ago.

2015-06-01 Thread Marc Weustink
Or Now - 5 / MinutesPerDay On June 1, 2015 4:08:06 PM GMT+02:00, aradeonas wrote: >Hi, > >Here is a simple way : >> T:=Now()- StrToTime('00:05:00'); > >or more profesional way : >> //add dateutils to uses >> T:=IncMinute(Now(),-5); > >Regards, Ara -- ___

Re: [Lazarus] Strange: still Mails to my gmail Adress

2015-06-01 Thread waldo kitty
On 06/01/2015 01:36 PM, John Landmesser wrote: On 29.05.2015 12:15, waldo kitty wrote: additionally, if you are pulling all these mails to a local mailstore with something like thunderbird, are you sure you don't have them being stored in a folder under a different server config? what i mean b

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é" 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 as: myString := '{ "v

Re: [Lazarus] Strange: still Mails to my gmail Adress

2015-06-01 Thread John Landmesser
On 29.05.2015 12:15, waldo kitty wrote: additionally, if you are pulling all these mails to a local mailstore with something like thunderbird, are you sure you don't have them being stored in a folder under a different server config? what i mean by that is i keep all my accounts with their

Re: [Lazarus] Detecting X minutes ago.

2015-06-01 Thread aradeonas
Hi, Here is a simple way : > T:=Now()- StrToTime('00:05:00'); or more profesional way : > //add dateutils to uses > T:=IncMinute(Now(),-5); Regards, Ara -- http://www.fastmail.com - The professional email service -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Detecting X minutes ago.

2015-06-01 Thread Michael Van Canneyt
On Mon, 1 Jun 2015, Richard Mace wrote: Hi All, What's the best way of detecting what Now - 5 minutes is? Effectively, I want to do the following: 5MinsAgo: TDateTime; 5MinsAgo := Now -5 minutes? Uses DateUtils; Var N : TDateTime; begin N:=Now; N:=IncMinutes(N,-5); end; Or somesuc

[Lazarus] Detecting X minutes ago.

2015-06-01 Thread Richard Mace
Hi All, What's the best way of detecting what Now - 5 minutes is? Effectively, I want to do the following: 5MinsAgo: TDateTime; 5MinsAgo := Now -5 minutes? Thanks in advance Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-01 Thread Bart
On 6/1/15, Koenraad Lelong wrote: > A few months ago I made an application that uses > StringGrid.LoadFromCSVFile. This worked. > Now, on a PC with a newer linux-OS, and a newer Lazarus/FPC, I try to > work further on that application but now the application from the > original sources crashes. I

[Lazarus] StringGrid.loadFromCSVFile question

2015-06-01 Thread Koenraad Lelong
Hi, A few months ago I made an application that uses StringGrid.LoadFromCSVFile. This worked. Now, on a PC with a newer linux-OS, and a newer Lazarus/FPC, I try to work further on that application but now the application from the original sources crashes. It seems it can no longer automaticall