Re: [Lazarus] Saving namespace files on WinXP

2017-01-29 Thread Lars via Lazarus
I previously wrote: > > ...fpc unit with dots in it, does this file syntax even get > accepted as a unit? > > Delphi has this: > https://sergworks.wordpress.com/2011/08/09/dotted-unit-names-in-delphi/ Answer here: http://wiki.freepascal.org/FPC_New_Features_3.0#Delphi-like_namespaces_units -- _

[Lazarus] SVG Editor or Viewer

2017-01-29 Thread Lars via Lazarus
Does anyone know of any Lazarus projects or code that views SVG files... I remember there was some graphics editing program written in lazarus (multiple images not just svg format) and I think it was closed source. Or any delphi svg editors (that could potentially be converted to lazarus)? Or ms

Re: [Lazarus] SVG Editor or Viewer

2017-01-30 Thread Lars via Lazarus
On Sun, January 29, 2017 11:37 pm, Sandro Cumerlato wrote: > Hello Lars, > I think you are talking about LazPaint: https://github.com/bgrabitmap > > This is a great program, loads up super fast. Just what I needed. I did try this before AFAIR but forgot. But it won't open SVG images... yet Googl

Re: [Lazarus] $IF for Linux and FreeBSD platforms?

2017-02-28 Thread Lars via Lazarus
On 2017-02-16 05:35, Graeme Geldenhuys via Lazarus wrote: On 2017-02-16 11:18, Ondrej Pokorny via Lazarus wrote: Well, you mixed up DEFINED and DECLARED macros. Sorry newbie question regarding these $IF directives: can someone explain why you would use "$IF defined" instead of $IFDEF... Ob

Re: [Lazarus] Animation library

2017-03-07 Thread Lars via Lazarus
I don't run a desktop environment, but instead a old-school style Window Manager (called JWM - Joe's Window Manager). JWM is extremely light - only uses 8MB of RAM so never interferes with application performance tests. Regards, Graeme Do you use JWM just for testing, or JWM all the time fo

Re: [Lazarus] Animation library

2017-03-08 Thread Lars via Lazarus
On 2017-03-07 18:40, Graeme Geldenhuys via Lazarus wrote: On 2017-03-07 19:02, Lars via Lazarus wrote: Do you use JWM just for testing, or JWM all the time for all work? I've been using JWM non-stop for the last 4 years! I'll never return to a bloated "desktop environment&qu

[Lazarus] TPicture width questions (duplicate ways)

2017-03-09 Thread Lars via Lazarus
TPicture has several width properties in all sorts of places, for example: var p: TPicture; begin ... p.width p.jpeg.width p.bitmap.width end; Are any of these pure duplicates that are exactly the same thing, or do some of them have different behaviours and should most definitely not b

Re: [Lazarus] Animation library

2017-03-09 Thread Lars via Lazarus
On 2017-03-08 13:08, Graeme Geldenhuys via Lazarus wrote: VM's also give you a lot of piece-of-mind. If your real hardware fails, move the VM to any other system and continue where you left off - hardly any down time. I regularly make backup copies or take snapshots of my VM's too. Snapshots ar

Re: [Lazarus] TPicture width questions (duplicate ways)

2017-03-09 Thread Lars via Lazarus
On 2017-03-09 10:48, José Mejuto via Lazarus wrote: AFAIK: TPicture.Width is the TGraphic container size. TPicture.jpeg.Width is the width declared in the jpeg image. TPicture.Bitmap.Width is the width of the bitmap in pixels. Mostly the 3 will have the same value but extracted from different

Re: [Lazarus] TPicture width questions (duplicate ways)

2017-03-10 Thread Lars via Lazarus
On 2017-03-10 11:01, Kostas Michalopoulos via Lazarus wrote: You can check yourself easily: Ctrl+Click on the p.Width to go to the definition of the property, then Ctrl+Click on the GetWidth getter, Ctrl+Shift+Down arrow to see the code for the getter and see that it simply gets FGraphic's proper

Re: [Lazarus] Lazarus on Raspberry Pi

2020-08-24 Thread Lars via lazarus
On 2020-08-22 06:04, John via lazarus wrote: Hi All, I haven't been active on this list for a long time, but I have been still been using FPC/Lazarus - many thanks to all who who have been making all the improvements. I recently dipped my toe into Raspberry Pi, and successfully built FPC (3.0.4

Re: [Lazarus] Do I understand how OnIdle works?

2020-08-24 Thread Lars via lazarus
On 2020-07-27 05:05, frans via lazarus wrote: Hi, I wonder about the use of OnIdle procedure and the Done variable. I thougth that this routine keeps running over and over again in idle state as long as Done=False. But the value of Done doesn't make a difference, the OnIdle procedure  keeps repe

[Lazarus] TTimer simple issue

2020-10-26 Thread Lars via lazarus
When building a simple TTimer demo I cannot seem to get it working Any idea what the problem could be if you paste this code into your form with a memo? var TimeSpent: integer; procedure TForm2.Button1Click(Sender: TObject); var i, answer: integer; begin Timer1.enabled := false; TimeS

<    1   2