Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Aradeonas
Probably you are somewhere wrong, provide your code so we can check. Regards, Ara -- http://www.fastmail.com - Same, same, but different... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Debian Packager released

2015-11-10 Thread JuuS
On 11/10/2015 05:32 AM, Anthony Walter wrote: > A new version is available with a much better dependency resolver. Beautiful, works great, VMs/machines, 32/64, qt/gtk2. Now, on to codebot Thanks for your work. -- ___ Lazarus mailing list

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Graeme Geldenhuys
On 2015-11-10 12:28, Luca Olivetti wrote: > I guess codebot needs a newer fpc, it doesn't compile with 2.6.4. You can also take a look at AggPas, which can easily accomplish what you ask for - with out 0-1% CPU load (tested previously on my system). Lazarus includes a copy of AggPas as standard.

Re: [Lazarus] Event created by program logic rather than user

2015-11-10 Thread Lukasz Sokol
On 10/11/15 12:23, Michael Schnell wrote: > On 11/10/2015 01:14 PM, Engelbert Buxbaum wrote: >> >> as far as I can see the only advantage of running the math-routine >> in a thread would be that the program could be terminated at any >> time, rather than only in the main loop. > If a long winding

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Luca Olivetti
El 10/11/15 a les 16:55, Graeme Geldenhuys ha escrit: On 2015-11-10 12:28, Luca Olivetti wrote: I guess codebot needs a newer fpc, it doesn't compile with 2.6.4. You can also take a look at AggPas, which can easily accomplish what you ask for - with out 0-1% CPU load (tested previously on my

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Graeme Geldenhuys
On 2015-11-10 16:48, Aradeonas wrote: > Probably you are somewhere wrong, +1 Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Graeme Geldenhuys
On 2015-11-10 16:43, Luca Olivetti wrote: > Impressive, but I looked at the source and it uses its own kind of > application. Don't let the demos confuse you. The demos were implemented to be cross-platform in their own way, with its own widgets used by the demos. The idea comes from the

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Anthony Walter
I am actually working on a new project which will be used to create a beautiful text animations. I'm not sure when I'll have anything previewable done, but the basic idea is you layout curves with spline nodes, put text on the curve, set timeline values for text offset in x and y along the curve,

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Luca Olivetti
El 10/11/15 a les 17:48, Aradeonas ha escrit: Probably you are somewhere wrong, provide your code so we can check. Regards, Ara Here is the component I adapted from the forum posting. Originally it used a timer instead of a thread and I have to clean it up once I decide for one option or

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Aradeonas
If you have a design and could share it,send it to me maybe I can make an example. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders wherever you are -- ___ Lazarus mailing list

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Luca Olivetti
El 10/11/15 a les 18:47, Graeme Geldenhuys ha escrit: On 2015-11-10 16:43, Luca Olivetti wrote: Impressive, but I looked at the source and it uses its own kind of application. Don't let the demos confuse you. The demos were implemented to be cross-platform in their own way, with its own

Re: [Lazarus] Trunk Version: Error "lclclasses.pp(26, 10) Error: unit not found: Classes"

2015-11-10 Thread Mattias Gaertner
On Wed, 11 Nov 2015 02:39:35 +0300 Jamal Gabra wrote: > Hi, > > I used FPCup to get the latest trunk version FPC 3/Laz 1.5 (native_trunk). > It compiles successfully and no issues when running existing projects, > however when trying to get the Auto-Complete list of any >

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Luca Olivetti
El 10/11/15 a les 23:37, Graeme Geldenhuys ha escrit: On 2015-11-10 21:09, Luca Olivetti wrote: But in the end I have to render it on the LCL canvas Via a single BitBlt which should be more than fast enough for what you described. Unless LCL is seriously broken. I don't know if it's broken,

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Graeme Geldenhuys
On 2015-11-10 21:09, Luca Olivetti wrote: > But in the end I have to render it on the LCL canvas Via a single BitBlt which should be more than fast enough for what you described. Unless LCL is seriously broken. But as the AggPas demos shows, text animation (more advanced that what you described

Re: [Lazarus] Tdbf

2015-11-10 Thread LacaK
As far as I remember only MDX and IDX are supported. (IMO you can use simple index file (not compound)) L. Can Tdbf use and maintain Foxpro indexes (*.cdx) yet? If not, can you still index a Foxpro file somehow? Thanks. Bob B. -- ___ Lazarus

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Sven Barth
Am 10.11.2015 09:40 schrieb "Jürgen Hestermann" : > > Am 2015-11-09 um 14:26 schrieb Sven Barth: >> >> >> > The docs already note that the compiler uses a temporary register >> > for 'With'. >> > http://www.freepascal.org/docs-html/ref/refsu58.html#x155-16500013.2.8 >> >

Re: [Lazarus] More testing please

2015-11-10 Thread Aradeonas
OK thanks, let me know if I could help. Regards, Ara -- http://www.fastmail.com - Does exactly what it says on the tin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Jürgen Hestermann
Am 2015-11-09 um 14:26 schrieb Sven Barth: > The docs already note that the compiler uses a temporary register > for 'With'. > http://www.freepascal.org/docs-html/ref/refsu58.html#x155-16500013.2.8 > Of course if there is no register left the compiler uses the stack. Please note that this is

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Mattias Gaertner
On Tue, 10 Nov 2015 12:26:56 +0100 Jürgen Hestermann wrote: >[...] > Does that mean, that local variables and with statements are treated > completely identically? A local var can be changed. Without optimization the compiler puts the local var on the stack. With

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Luca Olivetti
El 10/11/15 a les 12:36, Aradeonas ha escrit: If I were you I used BGRABitmap or Codebot,they have good text option and you can made a simple one easily,it will be fast,light and beautiful. I guess codebot needs a newer fpc, it doesn't compile with 2.6.4. I'm following the tutorials for

Re: [Lazarus] Trunk Version: Error "lclclasses.pp(26, 10) Error: unit not found: Classes"

2015-11-10 Thread Jamal Gabra
Many thanks Mattias, that fixed it. Appreciate it. Jamal On Wed, Nov 11, 2015 at 3:16 AM, Mattias Gaertner wrote: > On Wed, 11 Nov 2015 02:39:35 +0300 > Jamal Gabra wrote: > > > Hi, > > > > I used FPCup to get the latest trunk version FPC

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Jürgen Hestermann
Am 2015-11-10 um 11:32 schrieb Sven Barth: The user doesn't need to know the detail that the value is kept in a temporary register, because that statement by itself is utterly useless for the user, as on load/store architectures like ARM you /always/ have values in registers if they are

[Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Luca Olivetti
Hello, in my current project, I need a marquee. I adapted the component from here: http://forum.lazarus.freepascal.org/index.php?topic=24646.0 which is a descendant of a TCustomLabel using a timer to move the text position. I have several problems with it: - it is very cpu intensive (I have

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Aradeonas
If I were you I used BGRABitmap or Codebot,they have good text option and you can made a simple one easily,it will be fast,light and beautiful. Regards, Ara -- http://www.fastmail.com - Accessible with your email software or over the web --

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Michael Schnell
On 11/10/2015 12:30 PM, Luca Olivetti wrote: - it is very cpu intensive (I have to put it over a picture, so the invalidate will also force the repainting of the bitmap I guess) The only cure for this is using the graphic processor: only once create a wide pixel array from the text and then use

Re: [Lazarus] Event created by program logic rather than user

2015-11-10 Thread Engelbert Buxbaum
    Message: 4 Date: Sun, 8 Nov 2015 12:33:42 -0500 From: Anthony Walter Subject: Re: [Lazarus] Event created by program logic rather than user action To: Lazarus mailing list Message-ID:

Re: [Lazarus] Event created by program logic rather than user

2015-11-10 Thread Michael Schnell
On 11/10/2015 01:14 PM, Engelbert Buxbaum wrote: as far as I can see the only advantage of running the math-routine in a thread would be that the program could be terminated at any time, rather than only in the main loop. If a long winding calculation runs in a Thread, the complete main

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Graeme Geldenhuys
On 2015-11-10 21:16, Luca Olivetti wrote: > Here is the component I adapted from the forum posting. I quickly created my own scrolling label test widget for fpGUI. Attached is the unit. I set the scrolling step to 2 pixels and scrolling speed at 20 milliseconds. It uses a fpGUI Timer (no

[Lazarus] Trunk Version: Error "lclclasses.pp(26, 10) Error: unit not found: Classes"

2015-11-10 Thread Jamal Gabra
Hi, I used FPCup to get the latest trunk version FPC 3/Laz 1.5 (native_trunk). It compiles successfully and no issues when running existing projects, however when trying to get the Auto-Complete list of any Variable/Object/Component the error: "Unit Not Found: Classes" appears. Even starting a

Re: [Lazarus] Smooth scrolling label (marquee)

2015-11-10 Thread Aradeonas
Yes for codebot you can use Trunk version or easily get nigh version from GetLazarus website. Regards, Ara -- http://www.fastmail.com - Email service worth paying for. Try it for free -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Sven Barth
Am 10.11.2015 12:27 schrieb "Jürgen Hestermann" : > > Am 2015-11-10 um 11:32 schrieb Sven Barth: >> >> The user doesn't need to know the detail that the value is kept in a temporary register, because that statement by itself is utterly useless for the user, as on

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-10 Thread Sven Barth
Am 10.11.2015 14:37 schrieb "Sven Barth" : > > Am 10.11.2015 12:27 schrieb "Jürgen Hestermann" : > > > > Am 2015-11-10 um 11:32 schrieb Sven Barth: > >> > >> The user doesn't need to know the detail that the value is kept in a temporary