Re: [Lazarus] Is there a TSpinButton component in Lazarus?

2020-09-21 Thread AlexeyT via lazarus
Maybe a) project don't "require" (project options) needed package for DateTimeCtrl. b) LFM file misses something, check it. What is causing this really strange error??? And what can I do about it? Doing a build instead of Quick Compile does not help, same errors... -- Regards, Alexey -- __

Re: [Lazarus] Is there a TSpinButton component in Lazarus?

2020-09-21 Thread Bo Berglund via lazarus
On Mon, 21 Sep 2020 08:20:33 +0200, Ondrej Pokorny via lazarus wrote: >On 21.09.2020 00:49, Bo Berglund via lazarus wrote: >> When I thought that I was close to getting through all of the problems >> porting an application from Delphi (I think D7-D2007) to FPC/Lazarus I >> ran across TSpinButton,

Re: [Lazarus] FileUtil.FindAllFiles - changes strings inside

2020-09-21 Thread Ralf Quint via lazarus
On 9/21/2020 3:16 AM, Bart via lazarus wrote: On Mon, Sep 21, 2020 at 12:19 AM AlexeyT via lazarus wrote: you see that to iterate over all items in char-separated ASearchPath, code modifies str, ie deletes parts of it. It's slow! We should not modify str here. It's easy- save old-index, new-in

Re: [Lazarus] FileUtil.FindAllFiles - changes strings inside

2020-09-21 Thread Bart via lazarus
On Mon, Sep 21, 2020 at 12:19 AM AlexeyT via lazarus wrote: > you see that to iterate over all items in char-separated ASearchPath, > code modifies str, ie deletes parts of it. It's slow! We should not > modify str here. It's easy- save old-index, new-index, and get Copy(n1, > n2-n1{+delta}). Pr

Re: [Lazarus] FileUtil.FindAllFiles - case-sensitive on Unix

2020-09-21 Thread Bart via lazarus
On Mon, Sep 21, 2020 at 12:12 AM AlexeyT via lazarus wrote: > Here we miss parameter "CaseSensitive=False". So on Linux it is False > and function does case-insens search. It is slower! Why not to add param > True for Unix. Not sure about macOS. Please discuss this further in the bugreport you o