Re: [Lazarus] Android LCL example with 2.7.1

2013-03-06 Thread Mattias Gaertner
On Thu, 7 Mar 2013 07:07:07 +0100 Sven Barth wrote: > Am 06.03.2013 23:53 schrieb "Mattias Gaertner" : > > > > On Wed, 06 Mar 2013 15:48:43 +0100 > > Sven Barth wrote: > > > > > Hello together! > > > > > > I've managed to run the Android LCL example compiled with the > > > arm-android port of 2.

Re: [Lazarus] "nested" packed record?

2013-03-06 Thread Mattias Gaertner
On Thu, 7 Mar 2013 12:03:23 +0800 Xiangrong Fang wrote: > Hello, > > Is the "packed" keyword effective for nested records? i.e. > > TMyRecord = packed record > Component: *packed* record > Field: Integer; > ... ... > end; > ... ... > end; > > Does Component have to

Re: [Lazarus] Change font of a TPaintBox

2013-03-06 Thread Mattias Gaertner
On Thu, 7 Mar 2013 09:54:44 +0800 Xiangrong Fang wrote: > Hi All, > > I am writing some text on a TPaintBox.Canvas. I found that if I set > canvas.font on FormShow, it does NOT work, I have to set font inside the > OnPaint procedure of the canvas. Why the font information is not persisted > whe

Re: [Lazarus] Android LCL example with 2.7.1

2013-03-06 Thread Sven Barth
Am 06.03.2013 23:53 schrieb "Mattias Gaertner" : > > On Wed, 06 Mar 2013 15:48:43 +0100 > Sven Barth wrote: > > > Hello together! > > > > I've managed to run the Android LCL example compiled with the > > arm-android port of 2.7.1 on the Android emulator (API version 8) with > > default settings (n

[Lazarus] "nested" packed record?

2013-03-06 Thread Xiangrong Fang
Hello, Is the "packed" keyword effective for nested records? i.e. TMyRecord = packed record Component: *packed* record Field: Integer; ... ... end; ... ... end; Does Component have to be packed to ensure entire record is packed, or, "packed" is only required for the o

[Lazarus] Change font of a TPaintBox

2013-03-06 Thread Xiangrong Fang
Hi All, I am writing some text on a TPaintBox.Canvas. I found that if I set canvas.font on FormShow, it does NOT work, I have to set font inside the OnPaint procedure of the canvas. Why the font information is not persisted when it is set? Thanks -- __

[Lazarus] What's "External: SIGFPE"?

2013-03-06 Thread Xiangrong Fang
Hi All, I am making a charting program and encountered very weird error. The exception raised is: 'External: SIGFPE'. In file 'lcltype.pp' at line 3009. On that line is the MulDiv() function, and the operation I am doing is just assigning font height. I then remembered the question i asked d

Re: [Lazarus] XanaNews port to Lazarus

2013-03-06 Thread Graeme Geldenhuys
On 2013-03-06 19:20, Misha Padalka wrote: > Auto-marking messages as read is configurable, it's just default setting > to mark them manually. My preference is other way round. And if I want to return to a message later, I normally "tag" the message. Most email and news clients worth using suppor

Re: [Lazarus] Ubuntu 12.10 install problem

2013-03-06 Thread Mattias Gaertner
On Tue, 05 Mar 2013 13:05:07 +0100 Sipos András wrote: > Hi Guys, > > My Ubuntu version: 12.10, KDE. I have some problem about lazarus+fpc > install/upgrade. > > 1) > > Setup via PPA: > https://launchpad.net/~prof7bit/+archive/lazarus-1.0.0 >

Re: [Lazarus] Android LCL example with 2.7.1

2013-03-06 Thread Mattias Gaertner
On Wed, 06 Mar 2013 15:48:43 +0100 Sven Barth wrote: > Hello together! > > I've managed to run the Android LCL example compiled with the > arm-android port of 2.7.1 on the Android emulator (API version 8) with > default settings (no -Cparmv6). What is important though is that in the > lcl.lpk

Re: [Lazarus] Android LCL example with 2.7.1

2013-03-06 Thread leledumbo
Nice news Sven, so now I can drop the hacked 2.5.1? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Android-LCL-example-with-2-7-1-tp4029697p4029702.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. --

Re: [Lazarus] XanaNews port to Lazarus

2013-03-06 Thread Misha Padalka
Tue, 05 Mar 2013 22:57:46 +0200 було написано Graeme Geldenhuys : On 2013-03-05 20:41, Misha Padalka wrote: Did you tried Opera Mail (a component of Opera browser)? Yes, the email client is nice, the NNTP client is not so nice. Some issues with Opera NNTP client [off the top of my head]...

[Lazarus] fphttpapp and Android

2013-03-06 Thread silvioprog
Hi, I never tried, but, fphttpapp runs on Android? Thank, -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] XanaNews port to Lazarus

2013-03-06 Thread Graeme Geldenhuys
On 2013-03-06 15:08, Leonardo M. Ramé wrote: > > Did you try http://pan.rebelbase.com/ ? Like I said, I have tried just about every client out there. Problems with Pan: * No offline support. Well, it only caches a single newsgroup for offline support. Cache another newsgroup, and the first

Re: [Lazarus] XanaNews port to Lazarus

2013-03-06 Thread Leonardo M . Ramé
On 2013-03-05 20:07:25 +, Graeme Geldenhuys wrote: > Hi, > > I have a growing frustration with NNTP news clients. The ones I have > tested, and the list is long, are quite appalling. Each one has > somewhere a flaw I simply can't overlook any more. I now want something > I can fix myself if ne

[Lazarus] Android LCL example with 2.7.1

2013-03-06 Thread Sven Barth
Hello together! I've managed to run the Android LCL example compiled with the arm-android port of 2.7.1 on the Android emulator (API version 8) with default settings (no -Cparmv6). What is important though is that in the lcl.lpk the following code in the Conditionals is removed (line 49) othe

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-06 Thread Reinier Olislagers
On 6-3-2013 12:06, Bart wrote: > On 3/6/13, Reinier Olislagers wrote: > >> Nice - I updated >> http://wiki.lazarus.freepascal.org/index.php?title=openurl >> Please correct if wrong. > > Modified it a little bit. > Much clearer ;) -- ___ Lazarus maili

Re: [Lazarus] XanaNews port to Lazarus

2013-03-06 Thread Lukasz Sokol
On 05/03/2013 20:07, Graeme Geldenhuys wrote: > Hi, > > I have a growing frustration with NNTP news clients. The ones I have > tested, and the list is long, are quite appalling. Each one has > somewhere a flaw I simply can't overlook any more. I now want something > I can fix myself if needed. >

Re: [Lazarus] How do Lazarus users handle exceptions in procedures which are running in data modules?

2013-03-06 Thread Antonio Fortuny
IMHO if you always functions that have a boolean result and an output message parameter, you do not uses the power of Exceptions. Depends, depends... but you can use some public methods with boolean results but the private methods raises an exception if something was broken, then you catch the ex

Re: [Lazarus] How do Lazarus users handle exceptions in procedures which are running in data modules?

2013-03-06 Thread Marcos Douglas
On Wed, Mar 6, 2013 at 5:44 AM, Antonio Fortuny wrote: > Le 05/03/2013 16:14, Frank Church a écrit : > >> How do Lazarus users handle exceptions in procedures which are running >> in data modules? >> >> A lot of the guides and examples demonstrate raising exceptions, which >> generally display dia

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-06 Thread Bart
On 3/6/13, Reinier Olislagers wrote: > Nice - I updated > http://wiki.lazarus.freepascal.org/index.php?title=openurl > Please correct if wrong. Modified it a little bit. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lis

Re: [Lazarus] How do Lazarus users handle exceptions in procedures which are running in data modules?

2013-03-06 Thread Antonio Fortuny
Le 05/03/2013 16:14, Frank Church a écrit : How do Lazarus users handle exceptions in procedures which are running in data modules? A lot of the guides and examples demonstrate raising exceptions, which generally display dialogs to the user that an exception has occurred. But what is the best w