Re: [Lazarus] LCL High-DPI request for help adding images

2017-02-24 Thread Donald Ziesig via Lazarus
On 02/24/2017 05:03 AM, Ondrej Pokorny via Lazarus wrote: On 22.02.2017 17:55, Donald Ziesig via Lazarus wrote: Hi Ondrej! I downloaded the latest lazarus from svn. Then make bigide. When I started lazarus, the CoolBar is empty (except for the Save icon which is the correct size

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Donald Ziesig via Lazarus
One more question. Where can I find documentation for TControl.ScaleCoord() or ScaleCoord96()? It is not in the CCR. I will search the source. Don On 02/20/2017 11:46 AM, Ondrej Pokorny via Lazarus wrote: I'd like to announce that I finished the concept of DPI scaling in Lazarus / LCL.

Re: [Lazarus] LCL High-DPI

2017-02-21 Thread Donald Ziesig via Lazarus
Hi Ondrej! Your work has made a major improvement in Lazarus. It is much more enjoyable to use. I have converted my most recent major APP using it and it was mostly straight forward. I will continue using it and report back to you as my work permits. Thank you, Don Ziesig On 02/20/2017

Re: [Lazarus] LCL High-DPI request for help adding images

2017-02-22 Thread Donald Ziesig via Lazarus
Hi Ondrej! I downloaded the latest lazarus from svn. Then make bigide. When I started lazarus, the CoolBar is empty (except for the Save icon which is the correct size). The component icons are definitely bigger than the last version, but appear more like 125% rather than the 150% that I

Re: [Lazarus] LCL High-DPI request for help adding images

2017-02-26 Thread Donald Ziesig via Lazarus
On 02/26/2017 10:33 AM, Vojtěch Čihák via Lazarus wrote: Wouldn't be better (or would it be possible) to have *.svg icons in resources and generate *.png icons on start of IDE? Now you add 150% and 200%, later will come 250, 300% as 4k, 5k and 8k monitors come to market. V.

Re: [Lazarus] LCL High-DPI request for help adding images

2017-02-27 Thread Donald Ziesig via Lazarus
On 02/26/2017 04:13 PM, Ondrej Pokorny via Lazarus wrote: On 26.02.2017 17:01, Donald Ziesig via Lazarus wrote: I agree. I just spent most of two days rescaling the icons with gimp, then registering them. It looks good, but I sure would not want to have to repeat for 200%, etc. Do you mean

[Lazarus] High Res Screen, problems with IDE

2016-11-29 Thread Donald Ziesig via Lazarus
Hi Everyone! I have recently upgraded my linux machine to a laptop with high screen resolution (1920 x 1080) that for most programs is beautiful. Unfortunately, parts of the Lazarus IDE do not respect the screen resolution (in at least one case only in the vertical direction!). For

[Lazarus] IDE main window?

2016-12-04 Thread Donald Ziesig via Lazarus
Now that I have Lazarus 1.6.2 working :-D, I have a few questions: Is there any way to resize the IDE main window so that it extends the full width of the display? Right now it only extends 2/3 of the way across and I have to manually scroll the components to the right. Earlier versions of

[Lazarus] HI-DPI Strangeness

2017-03-11 Thread Donald Ziesig via Lazarus
Hi All! I have noticed strange behavior with Lazarus 1.7 in the HI-DPI mode. This took some trial and error to find since the connections are not at all obvious. I am using Linux Mint 18 and have the same problem with both MATE and XFCE desktop managers. When I log out/shutdown/restart

Re: [Lazarus] List down?

2017-08-10 Thread Donald Ziesig via Lazarus
On 08/10/2017 02:47 PM, wkitty42--- via Lazarus wrote: On 08/10/2017 05:11 AM, John Landmesser via Lazarus wrote: just to see if my post will be shown on lazarus-ide.org the list seems to be fine to me from wy over here... because: *Last message date:*/Sat Aug 5 16:27:27 CEST 2017/

Re: [Lazarus] IDE complains about missing Register procedure. [SOLVED]

2017-04-27 Thread Donald Ziesig via Lazarus
On 04/27/2017 05:52 PM, Donald Ziesig via Lazarus wrote: Well, I found a bug in Lazarus 1.9 that I thought went away with Lazarus 1.2. It is not a bug in the code, just a very obscure and not well documented checkbox that only appears when the particular file is selected in the Package

[Lazarus] Lazarus 1.9 ???

2017-04-27 Thread Donald Ziesig via Lazarus
Hi All! I have been using Lazarus 1.7 with fpc 3.0.0 since February with excellent results (until Tuesday). Somehow, I managed to corrupt that installation (spent the last two days trying to isolate newly appearing Segfaults in the IDE which occurred when I tried to install components).

[Lazarus] TStatusBar initialization problem.

2017-07-28 Thread Donald Ziesig via Lazarus
Hi Everyone! I am writing a new app that will use a StatusBar at the bottom of the main window (just like I have done many times in the past - with both Delphi and Lazarus). Strangely enough, even though I have nothing but the gui implemented (no app specific code, etc.), the StatusBar does

[Lazarus] Building a project with generics in libraries Laz1.9, FPC 3.0.2.

2017-05-22 Thread Donald Ziesig via Lazarus
Hi All! I have a rather large project that I have been refactoring from an earlier version that works. It is implemented in Laz 1.6.2. The new version takes considerable advantage of generics (which I learned first from Ada in the 1970s, then from C++ in the 1980s). The resulting code is

[Lazarus] Annoyance with 1.8RC5

2017-10-15 Thread Donald Ziesig via Lazarus
Hi All! I have been using RC5 for a couple of days and am annoyed by one change. Maybe its a configuration item that I can't find, but I would really like to turn off 'Always on Top' for the Object Inspector, Messages, Call Stack and other IDE forms. I've been using Delphi since version 1

Re: [Lazarus] Annoyance with 1.8RC5

2017-10-15 Thread Donald Ziesig via Lazarus
On 10/15/2017 01:51 PM, Ondrej Pokorny wrote: On 15.10.2017 17:05, Donald Ziesig via Lazarus wrote: What can I do about this? Find the revision that broke it and fill a bug report. And please give information about your OS and WS. I assume you are on Linux/Gtk2. Ondrej ok I'll try

Re: [Lazarus] Installation of 1.8 RC4 fails.

2017-10-13 Thread Donald Ziesig via Lazarus
On 10/13/2017 03:58 AM, Mattias Gaertner via Lazarus wrote: On Thu, 12 Oct 2017 20:39:44 -0400 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] I've done this many times over on many machines (all Debian derivatives) in the past and never had a problem like th

Re: [Lazarus] Installation of 1.8 RC4 fails.

2017-10-13 Thread Donald Ziesig via Lazarus
On 10/13/2017 03:58 AM, Mattias Gaertner via Lazarus wrote: On Thu, 12 Oct 2017 20:39:44 -0400 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] I've done this many times over on many machines (all Debian derivatives) in the past and never had a problem like th

[Lazarus] Debugger constantly crashing.

2017-08-27 Thread Donald Ziesig via Lazarus
Hi All, I have been having trouble debugging some simple programs using Lazarus 1.9 with FPC 3.0.2 on Linux Mint 18. When I move my mouse over certain variables the debugger crashes with error messages similar to: The GDB command: "-data-evaluate-expression CQ2WORLDDM.CQWORLDDATA^" did not

Re: [Lazarus] Debugger constantly crashing.

2017-08-27 Thread Donald Ziesig via Lazarus
On 08/27/2017 04:43 PM, Martin Frb via Lazarus wrote: On 27/08/2017 20:51, Donald Ziesig via Lazarus wrote: The GDB command: "-data-evaluate-expression CQ2WORLDDM.CQWORLDDATA^" did not return any result. The only thing that seems to be consistent with all of t

[Lazarus] Center text in multi-line hints?

2017-11-15 Thread Donald Ziesig via Lazarus
Hi All! This is just a minor annoyance fpr me (it grates on my sense of esthetics :-)), but is there any way to center the text in a multi-line hint?  In the current app, the hint is for a TPaintBox, but I've occasionally wanted to do this for other controls in the past. I could almost do

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Donald Ziesig via Lazarus
On 11/27/2017 01:41 PM, Mattias Gaertner via Lazarus wrote: On Mon, 27 Nov 2017 13:33:13 -0500 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] When you change a pas file of your package and you compile your project, does the IDE automatically compile your package

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Donald Ziesig via Lazarus
On 11/27/2017 01:28 PM, Mattias Gaertner via Lazarus wrote: On Mon, 27 Nov 2017 13:15:36 -0500 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] TL;DR   Library packages which declare generics do compile, but do not get included in the code that specializes them un

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-28 Thread Donald Ziesig via Lazarus
On 11/28/2017 05:50 AM, Mattias Gaertner via Lazarus wrote: On Tue, 28 Nov 2017 08:41:05 -0200 "Marcos Douglas B. Santos via Lazarus" wrote: [...] Are your 'Other unit files (-Fu)' paths in project inspector and your package empty? And is this correct, package

Re: [Lazarus] Compiling/linking/debugging package with generics

2017-11-27 Thread Donald Ziesig via Lazarus
On 11/27/2017 04:27 PM, Mattias Gaertner via Lazarus wrote: On Mon, 27 Nov 2017 15:52:09 -0500 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] Are your 'Other unit files (-Fu)' paths in project inspector and your package empty? Yes, both are empty. Good. I

[Lazarus] Todo lists.

2017-11-26 Thread Donald Ziesig via Lazarus
Hi Everyone! I used to (infrequently) use the Menu command or the hot key ctrl-shift-t to add properly formatted Todo comments in my code. I believe it was in the Source sub-menu.  I remember using an entry in the Source sub-menu to show a list of Todo's in the program. I can't find either

[Lazarus] Lazarus 1.8

2017-12-14 Thread Donald Ziesig via Lazarus
Many thanks to all who worked on 1.8.0.  It looks great and works better. Don Ziesig -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Debugging libraries which define generics.

2017-12-15 Thread Donald Ziesig via Lazarus
Hi All, I have been working on some *serious* :-$ software libraries that declare generic subprograms and classes. While debugging these I noticed: 1. When single-stepping, the line being highlighted in the editor window is almost always (but not exclusively) one line *after* the line

Re: [Lazarus] Debugging libraries which define generics.

2017-12-15 Thread Donald Ziesig via Lazarus
On 12/15/2017 01:33 PM, Martin Frb via Lazarus wrote: On 15/12/2017 18:29, Martin Frb via Lazarus wrote: On 15/12/2017 15:46, Donald Ziesig via Lazarus wrote: 1. When the mouse hovers over a variable, the debugger (and program being debugged) frequently crashes with the error: "

[Lazarus] A later version is already installed.

2017-12-13 Thread Donald Ziesig via Lazarus
Hi All! I currently have 1.8.0RC4 installed on my machine.  When I try to install lazarus-project_1.8.0-1_amd64.deb

Re: [Lazarus] Howto disable Lazarus IDE using a XFCE dark theme

2017-11-07 Thread Donald Ziesig via Lazarus
On 11/07/2017 03:20 PM, Michael Van Canneyt via Lazarus wrote: On Tue, 7 Nov 2017, Graeme Geldenhuys via Lazarus wrote: On 2017-11-06 23:58, R0b0t1 wrote: Integrated theming is a good idea because unless all assets are obtained from the windowing toolkit then there is no way to know they

Re: [Lazarus] How to enable Code outline feature of the IDE

2017-10-20 Thread Donald Ziesig via Lazarus
On 10/20/2017 05:51 PM, Mattias Gaertner via Lazarus wrote: On Fri, 20 Oct 2017 11:07:51 -0400 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...]I looked at the release notes, etc. for 1.8 again with negative results. It is mentioned in the release notes

[Lazarus] Restart Lazarus after rebuild crashes

2018-05-11 Thread Donald Ziesig via Lazarus
Hi All! Brand new Laptop :-). Clean installation of Linux Mint 18.3.:-) New download of Lazarus.  Version 18.2, Date 2018=-05-10, FPC 3.0, x86_64-linux-gtk2 8-). Added simple component, interface section and mostly stubbed methods (only Create and Destroy have code).  After Lazarus

Re: [Lazarus] How to debug DB errors.

2018-05-30 Thread Donald Ziesig via Lazarus
On 05/30/2018 10:42 AM, Joost van der Sluis via Lazarus wrote: Op 30-05-18 om 16:24 schreef Donald Ziesig via Lazarus: I have been developing database apps for years and I have finally reached my limit.  Occasionally I get exceptions in the db code but the Call Stack is truncated as is shown

Re: [Lazarus] How to debug DB errors.

2018-05-30 Thread Donald Ziesig via Lazarus
On 05/30/2018 12:05 PM, Joost van der Sluis via Lazarus wrote: Op 30-05-18 om 17:38 schreef Donald Ziesig via Lazarus: I found the fpmake.pp file in /usr/share/fpcsrc/3.0.4/packages/fcl-db. Using sudo -i, I ran: fppkg install -o -gl It responded "Error code 301", then "Com

[Lazarus] Trying to install Lazarus with fpc setup for debugging its libraries.

2018-06-01 Thread Donald Ziesig via Lazarus
I needed to compile fpc and the rtl and fpl libraries for debugging so I downloaded the sources from SourceForge. I built fpc from the sources (with -gl flag for debugging - it runs) using the instructions in (modified for 3.0.4):

[Lazarus] How to debug DB errors.

2018-05-30 Thread Donald Ziesig via Lazarus
Hi Everyone, I have been developing database apps for years and I have finally reached my limit.  Occasionally I get exceptions in the db code but the Call Stack is truncated as is shown below.  I usually just "bite the bullet" and single step through the code till I find the offending line. 

Re: [Lazarus] Unknown error codes.

2018-04-29 Thread Donald Ziesig via Lazarus
On 04/29/2018 03:00 PM, Carlos E. R. via Lazarus wrote: Hi, The other day I got this error in a program (on Linux): cer@Telcontar:~/bin/lazarus/mios> ./crc32test ./crc32test An unhandled exception occurred at $00400951: EInOutError: Unknown Run-Time error : 026 $00400951

[Lazarus] 'WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint message:

2018-05-03 Thread Donald Ziesig via Lazarus
Hi All! I have written a control that works fine except that it produces the subject WARNING twice for every time it is painted.  The problem comes from a single line:     Canvas.Draw(0, 0, Bitmap); I do much drawing to the Bitmap's Canvas (behind the scenes to avoid flicker) before

Re: [Lazarus] Annoyance with 1.8RC5

2017-10-26 Thread Donald Ziesig via Lazarus
I found that it appeared (in the source) going from RC4 to RC5.  I dropped back to RC4 so I can get some work done;-). I tried to find the exact units involved but I couldn't find them. On 10/15/2017 05:05 PM, Donald Ziesig via Lazarus wrote: Hi All! I have been using RC5 for a couple of d

[Lazarus] How to enable Code outline feature of the IDE

2017-10-20 Thread Donald Ziesig via Lazarus
Hi All! The new code outline feature of the IDE sounds interesting but I must have missed something along the way. :-[ I perused what I thought were the appropriate IDE Menu items but didn't see anything that matched.  I have searched all the messages on this list and the only ones that

[Lazarus] Fatal IO error 11

2017-10-23 Thread Donald Ziesig via Lazarus
Hi All! How can I isolate the source of "Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. Xlib: request 67 length 20 would exceed buffer size."  The program halts without calling the debugger or throwing an exception.  The only indication I have is this error message in

Re: [Lazarus] Source | complete code - does nothing.

2018-01-09 Thread Donald Ziesig via Lazarus
iable. V. ______ > Od: Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> > Komu: lazarus@lists.lazarus-ide.org > Datum: 09.01.2018 17:54 > Předmět: [Lazarus] Source | complete code - does nothing. > Hi All: I was just playing with text editing "toys" such as code

[Lazarus] Source | complete code - does nothing.

2018-01-09 Thread Donald Ziesig via Lazarus
Hi All: I was just playing with text editing "toys" such as code completion, outlines, etc.  While doing this I discovered that clicking on the menu entry: Source   Complete Code (with Dialog)   Ctrl-Shift-X does nothing.  No dialog, no changes to text in editor. I  then tried Ctrl-Shift-X

Re: [Lazarus] lazarus-ccr (or other) TBufDataSet Documentation?

2018-01-07 Thread Donald Ziesig via Lazarus
On 01/07/2018 03:33 AM, leledumbo via Lazarus wrote: So far I have had no success. Do I have to use the source alone? I think there's none officially, but google gives me these: - http://wiki.lazarus.freepascal.org/How_to_write_in-memory_database_applications_in_Lazarus/FPC -

Re: [Lazarus] lazarus-ccr (or other) TBufDataSet Documentation?

2018-01-07 Thread Donald Ziesig via Lazarus
On 01/07/2018 03:32 AM, Michael Van Canneyt via Lazarus wrote: On Sat, 6 Jan 2018, Donald Ziesig via Lazarus wrote: Hi All! I have been trying to find documentation for the TBufDataSet (or TMemDataSet) as is available for most other components in the Lazarus Code and Component Repository

Re: [Lazarus] Recommended practices for Win / Linux development.

2018-01-11 Thread Donald Ziesig via Lazarus
On 01/11/2018 03:21 AM, Mattias Gaertner via Lazarus wrote: On Wed, 10 Jan 2018 19:16:25 -0500 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: Hi Everyone! A long time ago, I tried to develop common software for Windows and Linux.  I remember having problems k

[Lazarus] Recommended practices for Win / Linux development.

2018-01-10 Thread Donald Ziesig via Lazarus
Hi Everyone! A long time ago, I tried to develop common software for Windows and Linux.  I remember having problems keeping the object files, etc, separated so that the two versions of Lazarus would re-compile the appropriate files.  I have been working almost exclusively on Linux since

[Lazarus] Minor Annoyance

2018-01-17 Thread Donald Ziesig via Lazarus
Hi Everyone! I am working on a component and having some issues with the property interface.  This means that I have to occasionally rebuild the IDE to update the component's definition. I have done this in the past, and when I did, the IDE would restart automatically when the re-build was

[Lazarus] Minor Annoyance update

2018-01-17 Thread Donald Ziesig via Lazarus
Update: Startup of the IDE also fails with the menu selection:  File | Restart Forwarded Message Subject:[Lazarus] Minor Annoyance Date: Wed, 17 Jan 2018 12:46:34 -0500 From: Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> Reply-To: L

Re: [Lazarus] Minor Annoyance update

2018-01-17 Thread Donald Ziesig via Lazarus
On 01/17/2018 12:54 PM, Bart via Lazarus wrote: > Startup of the IDE also fails with the menu selection:  File | Restart How do you start the IDE: lazarus or startlazarus? From an panel button.  The command is: startlazarus %f Bart Also: Menu->Tools->Configure Build Lazarus: check:

[Lazarus] How to find stream contents for component?

2018-01-21 Thread Donald Ziesig via Lazarus
Hi All! I am developing a component and made the mistake of not re-installing it often enough :'(. I after considerable editing, I re-installed it and when Lazarus re-started I got errors about an AV at "stream position 2486". Is there any way to inspect the contents of stream position 2486

[Lazarus] I've been defeated. (Dataset Problem)

2018-01-17 Thread Donald Ziesig via Lazarus
Hi All! I give up! :'( After four solid days of hacking through undocumented code, I have to admit defeat. I have a component derived from TDataSet.  This component uses TFieldDefs and TIndexDefs.  The problem is that when I edit the TIndexDef, the underlying form does NOT see the change! 

Re: [Lazarus] I've been defeated. (Dataset Problem)

2018-01-17 Thread Donald Ziesig via Lazarus
On 01/17/2018 04:41 PM, Michael Van Canneyt via Lazarus wrote: On Wed, 17 Jan 2018, Donald Ziesig via Lazarus wrote: Hi All! I give up! :'( After four solid days of hacking through undocumented code, I have to admit defeat. I have a component derived from TDataSet.  This component uses

Re: [Lazarus] IDE focused window after app terminates

2018-01-28 Thread Donald Ziesig via Lazarus
On 01/27/2018 07:16 PM, Graeme Geldenhuys via Lazarus wrote: Hi, I never noticed this before, but I'm working on a project where I switch very fast and frequently between coding and running the program, then back to coding... repeat. The annoyance I never noticed before is that when my

Re: [Lazarus] IDE focused window after app terminates

2018-01-28 Thread Donald Ziesig via Lazarus
On 01/28/2018 05:44 PM, Bart via Lazarus wrote: On Sun, Jan 28, 2018 at 11:13 PM, Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: I have noticed a similar problem with Lazarus 1.8.0 that did not happen in earlier versions. When I click on a tab in the Source

[Lazarus] ppu's in wrong directory.

2018-02-06 Thread Donald Ziesig via Lazarus
I am working on updates to some free pascal database code.  In order to do this, I used fpcupdelux to download and build the entire app into a private folder so I don't mess up my normal installation. I made one change to db.pas (changed a private to protected) and re-compiled it and the IDE

[Lazarus] Compilation aborted!

2018-02-17 Thread Donald Ziesig via Lazarus
Hi Everyone: I am writing a package that currently has one unit file which, in turn, has two inter-related classes. Until just now, the package compiled (some empty methods) with only expected info and warnings.  I just did some minor editing (added 6 contiguous lines) and now I get "FATAL

Re: [Lazarus] Compilation aborted!

2018-02-18 Thread Donald Ziesig via Lazarus
On 02/18/2018 04:02 AM, Mattias Gaertner via Lazarus wrote: On Sat, 17 Feb 2018 22:35:17 -0500 Donald Ziesig via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] Isolated it to FPC.  Ran fpc from terminal without IDE.  Got same error (AV).  It is getting late here. I wil

[Lazarus] Drag (and show) images

2018-04-11 Thread Donald Ziesig via Lazarus
Hi All! I am trying to write an app that allows me to drag images and show them while they are being dragged (like the cards in Solitaire). I have been able to drag images (showing only the drag cursor) and drop them appropriately, but I haven't been able to find any recent documentation

Re: [Lazarus] Drag (and show) images

2018-04-12 Thread Donald Ziesig via Lazarus
On 04/11/2018 07:18 PM, Werner Pamler via Lazarus wrote: Am 12.04.2018 um 00:02 schrieb Donald Ziesig via Lazarus: I am trying to write an app that allows me to drag images and show them while they are being dragged (like the cards in Solitaire). I have been able to drag images (showing only

Re: [Lazarus] Drag (and show) images

2018-04-13 Thread Donald Ziesig via Lazarus
On 04/13/2018 04:45 AM, Giuliano Colla via Lazarus wrote: Il 13/04/2018 02:40, Donald Ziesig via Lazarus ha scritto: You're right.  It gets *close* but not quite there.  I can move the control so long as the mouse is *not* over the control while it is moving :-(. I will look at this closer

Re: [Lazarus] Beep?

2018-03-29 Thread Donald Ziesig via Lazarus
On 03/29/2018 06:12 AM, Carlos E. R. via Lazarus wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, 2018-03-26 at 06:09 +0200, Carlos E. R. via Lazarus wrote: On 2018-03-26 04:02, Donald Ziesig via Lazarus wrote: Hi Everyone! I am using Lazarus 1.8 on Linux Mint.  I would