Re: [Lazarus] Zooming a form

2016-06-21 Thread Luca Olivetti
after the ScaleBy Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Increasingly frustrated with DbGrids

2016-06-22 Thread Luca Olivetti
El 02/11/15 a les 11:56, Luca Olivetti ha escrit: El 02/11/15 a les 11:12, Luca Olivetti ha escrit: Hello, I constantly stumble with the behaviour of the TDBGrid. I understand that it's a complex component, but every time I find an issue an Luiz fixes it, two more pop up (or an olde

Re: [Lazarus] Accessing components in FormCreate event

2016-09-22 Thread Luca Olivetti
f the component isn't the final one (depending on align, anchors or autosize, as I said I don't remeber the details) until the FormShow, so if you need them to initialize other components you have to wait. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel.

Re: [Lazarus] Zeos SQLite Linux

2017-03-27 Thread Luca Olivetti via Lazarus
ect, not zeos) so I can confirm it still works. I'm using zeos 7.1.4 (in 2007 I think I was using 7.0.3). Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus ma

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
. Is this version still supposed to work with fpc 2.6.4? Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazar

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 16:39, Mattias Gaertner via Lazarus ha escrit: On Wed, 17 May 2017 16:31:33 +0200 Luca Olivetti via Lazarus wrote: El 17/05/17 a les 14:39, Mattias Gaertner via Lazarus ha escrit: == Why should everybody (including you) test the release candidate? == I didn't test i

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 16:31, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 14:39, Mattias Gaertner via Lazarus ha escrit: == Why should everybody (including you) test the release candidate? == I didn't test it yet but I checked it out from svn and I see that the patch here

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 16:48, Mattias Gaertner via Lazarus ha escrit: On Wed, 17 May 2017 16:34:14 +0200 Luca Olivetti via Lazarus wrote: [...] Is this version still supposed to work with fpc 2.6.4? OK, I see now that it doesn't build with fpc 2.6.4 :-( Fixed. The Lazarus devels only su

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 17:29, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 16:48, Mattias Gaertner via Lazarus ha escrit: On Wed, 17 May 2017 16:34:14 +0200 Luca Olivetti via Lazarus wrote: [...] Is this version still supposed to work with fpc 2.6.4? OK, I see now that it doesn&#

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 17:43, Ondrej Pokorny via Lazarus ha escrit: On 17.05.2017 17:38, Luca Olivetti via Lazarus wrote: FWIW it does the same with linux/gtk2 and, boy, the ide is *ugly*: giant, blurred, icons everywhere, giant fonts in the tabs of the components' palette, giant fonts i

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 17:52, Ondrej Pokorny via Lazarus ha escrit: On 17.05.2017 17:47, Luca Olivetti via Lazarus wrote: El 17/05/17 a les 17:43, Ondrej Pokorny via Lazarus ha escrit: On 17.05.2017 17:38, Luca Olivetti via Lazarus wrote: FWIW it does the same with linux/gtk2 and, boy, the ide is

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 18:55, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 17:52, Ondrej Pokorny via Lazarus ha escrit: On 17.05.2017 17:47, Luca Olivetti via Lazarus wrote: El 17/05/17 a les 17:43, Ondrej Pokorny via Lazarus ha escrit: On 17.05.2017 17:38, Luca Olivetti via Lazarus

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 19:05, Ondrej Pokorny via Lazarus ha escrit: On 17.05.2017 18:55, Luca Olivetti via Lazarus wrote: El 17/05/17 a les 17:52, Ondrej Pokorny via Lazarus ha escrit: You use 150% scaling (96 DPI = 100%), so Lazarus is also scaled by 150%. It's a new feature :) Well, if

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 19:19, zeljko ha escrit: On 17.05.2017 19:08, Luca Olivetti via Lazarus wrote: The ide compiled with the qt widgetset doesn't show the same problem (though it doesn't seem to be using the same fonts as other kde applications) KDE Plasma is using Qt5, but ide is

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 19:59, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 19:19, zeljko ha escrit: On 17.05.2017 19:08, Luca Olivetti via Lazarus wrote: The ide compiled with the qt widgetset doesn't show the same problem (though it doesn't seem to be using the same fonts as

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 20:16, Luca Olivetti via Lazarus ha escrit: Excellent, this is OK, with my selected fonts and correctly sized icons. It still has the problem with optimalfill, so it's definitely not platform specific. See https://youtu.be/NFZGVx7V2C0 Bye -- Luca Olivetti W

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 20:33, zeljko ha escrit: On 17.05.2017 20:16, Luca Olivetti via Lazarus wrote: Meanwhile I see that in the plasma font setting I have the dpi forced to 96, a setting that apparently is respected both by qt4 and qt5 (as well as gtk applications). If it's forced than a

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 20:22, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 20:16, Luca Olivetti via Lazarus ha escrit: Excellent, this is OK, with my selected fonts and correctly sized icons. It still has the problem with optimalfill, so it's definitely not platform specific. See

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Luca Olivetti via Lazarus
El 18/05/17 a les 09:17, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 20:22, Luca Olivetti via Lazarus ha escrit: El 17/05/17 a les 20:16, Luca Olivetti via Lazarus ha escrit: Excellent, this is OK, with my selected fonts and correctly sized icons. It still has the problem with

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Luca Olivetti via Lazarus
El 18/05/17 a les 10:47, Ondrej Pokorny via Lazarus ha escrit: On 18.05.2017 9:38, Luca Olivetti via Lazarus wrote: This seems to fix it, maybe fpc 2.6.4 doesn't manage well a "in" with a range of integers? Thank you for the patch, applied! Does the bug have a report in mantis

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-18 Thread Luca Olivetti via Lazarus
El 17/05/17 a les 16:48, Mattias Gaertner via Lazarus ha escrit: On Wed, 17 May 2017 16:34:14 +0200 Luca Olivetti via Lazarus wrote: [...] Is this version still supposed to work with fpc 2.6.4? OK, I see now that it doesn't build with fpc 2.6.4 :-( Fixed. The Lazarus devels only su

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-27 Thread Luca Olivetti via Lazarus
ggie, I'm using OnClick instead, but it caught me by surprise. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] fpspreadsheet: custom property in xslooxml writer

2017-06-12 Thread Luca Olivetti via Lazarus
poses the TZipper as a parameter) but unfortunately it's not virtual so it cannot be overridden. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing li

Re: [Lazarus] String vs WideString

2017-08-15 Thread Luca Olivetti via Lazarus
reliably until fpc 2.6.4 (i.e. with string=ansistring). Does it not work in 3.x? If not it's a big problem, not only for my code (that I can, reluctantly, change) but for 3rd party libraries/components (e.g. synapse comes to mind) Bye -- Luca Olivetti Wetron Automation Technology http://www.wetr

Re: [Lazarus] String vs WideString

2017-08-15 Thread Luca Olivetti via Lazarus
El 15/08/17 a les 21:14, Graeme Geldenhuys via Lazarus ha escrit: On 2017-08-15 18:29, Luca Olivetti via Lazarus wrote: but for 3rd party libraries/components (e.g. synapse comes to mind Then better start filing bug reports to all those 3rd party libraries and components - they have been

Re: [Lazarus] String vs WideString

2017-08-15 Thread Luca Olivetti via Lazarus
El 15/08/17 a les 21:38, Ondrej Pokorny via Lazarus ha escrit: On 15.08.2017 21:34, Mattias Gaertner via Lazarus wrote: On Tue, 15 Aug 2017 21:22:10 +0200 Luca Olivetti via Lazarus wrote: [...] *If* code that worked before (and dare I say without abusing the language) suddenly breaks, the

Re: [Lazarus] String vs WideString

2017-08-15 Thread Luca Olivetti via Lazarus
El 15/08/17 a les 21:38, Ondrej Pokorny via Lazarus ha escrit: On 15.08.2017 21:34, Mattias Gaertner via Lazarus wrote: On Tue, 15 Aug 2017 21:22:10 +0200 Luca Olivetti via Lazarus wrote: [...] *If* code that worked before (and dare I say without abusing the language) suddenly breaks, the

Re: [Lazarus] String vs WideString

2017-08-15 Thread Luca Olivetti via Lazarus
El 15/08/17 a les 22:08, Luca Olivetti ha escrit: El 15/08/17 a les 21:38, Ondrej Pokorny via Lazarus ha escrit: On 15.08.2017 21:34, Mattias Gaertner via Lazarus wrote: On Tue, 15 Aug 2017 21:22:10 +0200 Luca Olivetti via Lazarus wrote: [...] *If* code that worked before (and dare I say

Re: [Lazarus] String vs WideString

2017-08-15 Thread Luca Olivetti via Lazarus
El 15/08/17 a les 22:45, Graeme Geldenhuys via Lazarus ha escrit: On 2017-08-15 20:22, Luca Olivetti via Lazarus wrote: Wait a minute, why "abuse"? After all, before code aware strings, an ansistring could store any kind of arbitrary data with no problem and no conversion, and made it

Re: [Lazarus] String vs WideString

2017-08-16 Thread Luca Olivetti via Lazarus
tes, find one byte in the array, etc. OK, I can, but I have to program it all by myself while a string does all that and more and probably it's a lot more efficient. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004

Re: [Lazarus] String vs WideString

2017-08-16 Thread Luca Olivetti via Lazarus
El 16/08/17 a les 20:26, Luca Olivetti via Lazarus ha escrit: El 16/08/17 a les 01:17, Graeme Geldenhuys via Lazarus ha escrit: In hind sight, using TBytes or TMemoryStream and it would have been very clear that it is a storage container for byte sized data, and no automatic conversion (by

Re: [Lazarus] String vs WideString

2017-08-16 Thread Luca Olivetti via Lazarus
El 16/08/17 a les 22:40, Sven Barth via Lazarus ha escrit: On 16.08.2017 20:26, Luca Olivetti via Lazarus wrote: El 16/08/17 a les 01:17, Graeme Geldenhuys via Lazarus ha escrit: In hind sight, using TBytes or TMemoryStream and it would have been very clear that it is a storage container for

Re: [Lazarus] String vs WideString

2017-08-17 Thread Luca Olivetti via Lazarus
El 17/08/17 a les 01:34, Graeme Geldenhuys via Lazarus ha escrit: On 2017-08-16 19:26, Luca Olivetti via Lazarus wrote: I mean, TBytes is just an "array of char". NO! Char can now mean a 1-byte char or a 2-byte char (I don't know how Sorry, I meant "array of byte"

[Lazarus] Control DBGrid row position

2017-11-16 Thread Luca Olivetti via Lazarus
at's another matter. [*] actually I'm currently loading 200 records at a time and when scrolling I just shift the visible window 50 records up or down. [**] more or less, it depends on the size of the window. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.e

Re: [Lazarus] Control DBGrid row position

2017-11-16 Thread Luca Olivetti via Lazarus
El 16/11/17 a les 16:28, Luca Olivetti via Lazarus ha escrit: Is there a way to control the position of the selected row in a TDBGrid? With a TStringGrid you can control it with TopRow, but TDBGrid has no such property and I couldn't find a way to do what I want. I understand that T

Re: [Lazarus] Lazarus Release 1.8

2017-12-08 Thread Luca Olivetti via Lazarus
icode units from fpc-3.0, but I'm not sure it will work correctly. I guess I'll have to switch to fpc 3.0.4 but I still fear the unicode changes in 3.0 will bite me. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax

Re: [Lazarus] Lazarus Release 1.8

2017-12-09 Thread Luca Olivetti via Lazarus
software has to run unattended 24/7 (or more like 24/5). OTOH I can always keep a copy of fpc-2.6.4 and lazarus 1.6.4 recompile if something goes wrong. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- __

Re: [Lazarus] Lazarus Release 1.8

2017-12-09 Thread Luca Olivetti via Lazarus
El 09/12/17 a les 13:23, Juha Manninen via Lazarus ha escrit: On Sat, Dec 9, 2017 at 12:57 PM, Luca Olivetti via Lazarus wrote: I know I'll have to upgrade to fpc 3 someday, but what worries me about it is my (and other 3rd party units) use of ansistrings as binary buffers. The auto

Re: [Lazarus] Lazarus Release 1.8

2017-12-10 Thread Luca Olivetti via Lazarus
27;s an ansistring. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Luca Olivetti via Lazarus
El 09/12/17 a les 11:57, Luca Olivetti via Lazarus ha escrit: I know I'll have to upgrade to fpc 3 someday, but what worries me about it is my (and other 3rd party units) use of ansistrings as binary buffers. I did some quick tests some time ago an nothing seemed broken, but I'

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Luca Olivetti via Lazarus
not compatible and clearly documented than vaguely documented and maybe (just maybe) compatible (i.e. I don't really care about delphi compatibility since I don't use it, but sometimes you have to rely on delphi examples/documentation). Bye -- Luca Olivetti Wetron Automation Technology

Re: [Lazarus] Lazarus Release 1.8

2017-12-11 Thread Luca Olivetti via Lazarus
El 11/12/17 a les 16:14, Michael Van Canneyt ha escrit: On Mon, 11 Dec 2017, Luca Olivetti wrote: El 11/12/17 a les 13:43, Michael Van Canneyt ha escrit: [*] I don't know if freeing a thread in OnTerminate is allowed. FPC documentation here https://www.freepascal.org/docs-htm

Re: [Lazarus] Any tips to speed up Lazarus->GDB debugger?

2018-01-11 Thread Luca Olivetti via Lazarus
start time. (actually not sure if the time is saved during start, or at some later point) And then lose 10 minutes because you need to trace a routine in the LCL. And an hour more because you discover that the routine is actually in the RTL ;-) Bye -- Luca Olivetti Wetron Automation

Re: [Lazarus] Can not access www.lazarus-ide.org

2018-02-13 Thread Luca Olivetti via Lazarus
also makes the online package manager unusable from home. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.

[Lazarus] ghost selector in form editor

2018-02-15 Thread Luca Olivetti via Lazarus
ndows, second one linux/gtk). This is lazarus 1.8.0/fpc 3.0.4 but, as I said, I saw this with every previous lazarus version. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 58

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
caused by wrong Z-order, for example TSpeedButton behind enlarged non-transparent TLabel or TStaticText. and probably other ways. BTW, what control is that "Status no valido!" caption? Isn't it the case no.2? It' just a label Bye -- Luca Olivetti Wetron Automation Techno

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 01:17, Juha Manninen via Lazarus ha escrit: On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus wrote: I've been seeing this from time immemorial, probably since 0.something, both under windows and linux/gtk/qt (though under linux is much more frequent): There

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 10:24, Luca Olivetti via Lazarus ha escrit: El 18/02/18 a les 01:17, Juha Manninen via Lazarus ha escrit: On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus wrote: I've been seeing this from time immemorial, probably since 0.something, both under windows and

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 10:31, Luca Olivetti via Lazarus ha escrit: The plot thickens: while the ghost selector of a label diverges from the real one, the ghost selector of other controls moves in sync: https://www.youtube.com/watch?v=wTAKaYIM8_U Meanwhile, I compiled the ide with qt5 and it

[Lazarus] Garbage writing to console

2018-02-22 Thread Luca Olivetti via Lazarus
27;áéí') also gives the correct output. Why? After all I'm using the same string literal. I suppose there's some underlying automatic conversion going on, but it's very confusing. Bye -- Luca Olivetti Wetron Automation Technology http://www.w

Re: [Lazarus] Garbage writing to console

2018-02-22 Thread Luca Olivetti via Lazarus
lso https://www.freepascal.org/docs-html/rtl/system/settextcodepage.html On 22/02/18 11:21, Luca Olivetti via Lazarus wrote: Lazarus 1.8.0, fpc 3.0.4, windows application (with "win32 gui application unchecked") or console application (using LazUTF8). File encoding utf-8 withou

Re: [Lazarus] Garbage writing to console

2018-02-22 Thread Luca Olivetti via Lazarus
El 22/02/18 a les 13:46, Luca Olivetti via Lazarus ha escrit: El 22/02/18 a les 13:07, Tony Whyman via Lazarus ha escrit: You may find the "SetTextCodePage" procedure useful when it comes to setting the code page for a Windows console. e.g. SetTextCodePage(stdout,cp_utf8); S

Re: [Lazarus] Garbage writing to console

2018-02-22 Thread Luca Olivetti via Lazarus
El 22/02/18 a les 22:26, Ondrej Pokorny via Lazarus ha escrit: On 22.02.2018 12:21, Luca Olivetti via Lazarus wrote: Lazarus 1.8.0, fpc 3.0.4, windows application (with "win32 gui application unchecked") or console application (using LazUTF8). File encoding utf-8 without bom. wr

Re: [Lazarus] Garbage writing to console

2018-02-23 Thread Luca Olivetti via Lazarus
#x27;)); // works with and without Yes, that works too. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Boolean component Properties saved in *.lfm

2018-05-03 Thread Luca Olivetti via Lazarus
g field to true, hence the bug is in the zeos library. -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-i

[Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2018-05-15 Thread Luca Olivetti via Lazarus
can try and reopen it again? TIA -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2018-05-15 Thread Luca Olivetti via Lazarus
; Database.UnPrepareStatement(FCursor)-> TPQConnection.UnprepareStatement which eventually fails. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing list Laz

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2018-05-15 Thread Luca Olivetti via Lazarus
post a small sample program in the bugtracker ? Done https://bugs.freepascal.org/view.php?id=33737 Thank you -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ Lazarus mailing

Re: [Lazarus] Is there a way to reconnect to postgresql if the connection fails?

2018-05-17 Thread Luca Olivetti via Lazarus
El 15/05/18 a les 21:43, Luca Olivetti via Lazarus ha escrit: El 15/05/18 a les 21:11, Michael Van Canneyt via Lazarus ha escrit: I will need to check this, but the purpose of Close(True) is exactly to ignore errors while closing for a reconnect. It was introduced and tested in the case of

Re: [Lazarus] Howto uninstall Lazarus and reinstall

2018-05-27 Thread Luca Olivetti via Lazarus
hart2PieSeries1.AddPie(SaveRec.EV, State, clRed); That's another issue. Did you check if is there an updated version of the package that doesn't compile? Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- _

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

2018-06-01 Thread Luca Olivetti via Lazarus
not counted as installed, hence it cannot satisfy the dependency. My apt-fu isn't strong enough to suggest a workaround (try searching "apt ignore dependencies"), but I'd say it would be better to install lazarus too from source. Bye -- Luca Olivetti Wetron Automation T

[Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
axDouble) silently fails (linux/x64, it gives an FPE exception under win32). There's no such problem with gtk2 because the underlying widget is floating point based. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:14, Luca Olivetti via Lazarus ha escrit: Lazarus 1.8.4, FPC 3.0.4, x86_64-linux-qt5 In a spinedit, if I set maxvalue and minvalue to 0, the spinedit doesn't work with the qt5 widgetset. I see that in qtswsspin.pp     if (ACustomFloatSpinEdit.Max

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to     if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then     begin   ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinValue);   ASpinWidget.setMaximum(ACustomFloatSpinEdit.MaxVa

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:43, Luca Olivetti via Lazarus ha escrit: El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then begin    ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinVa

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:49, zeljko ha escrit: On 11.06.2018 11:43, Luca Olivetti via Lazarus wrote: El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then be

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Luca Olivetti via Lazarus
ports or fixes I don't trust it with fpc 2.6.4). I don't think that lazarus 2 will work with tpc 2.6.4, so I'll wait a while more before trying it. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010)

Re: [Lazarus] Installed lazarus-ide in Ubuntu18, cannot install package

2018-10-24 Thread Luca Olivetti via Lazarus
El 24/10/18 a les 22:11, Sven Barth via Lazarus ha escrit: Am 24.10.2018 um 21:35 schrieb Luca Olivetti via Lazarus: El 24/10/18 a les 13:10, Juha Manninen via Lazarus ha escrit: Why old Lazarus 1.8.4? Why don't you use the new 2.0 branch? I still have to keep 1.6.4 around due to

[Lazarus] how to show hourglass on windows 10 with touch screen?

2019-01-23 Thread Luca Olivetti via lazarus
application to show after pressing the button. TIA -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-i

Re: [Lazarus] how to show hourglass on windows 10 with touch screen?

2019-01-24 Thread Luca Olivetti via lazarus
El 24/1/19 a les 10:23, Graeme Geldenhuys via lazarus ha escrit: On 23/01/2019 14:49, Luca Olivetti via lazarus wrote: is there an alternative way to show that the application is busy? A small borderless dialog with a short message? Think in the lines of a splashscreen-like dialog. I use this

Re: [Lazarus] how to show hourglass on windows 10 with touch screen?

2019-01-24 Thread Luca Olivetti via lazarus
that. If only they provided at least an alternative way to provide feedback when the application is busy... @Giuliano, in my case it just manages the UI, but I didn't decide the OS. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax

Re: [Lazarus] how to show hourglass on windows 10 with touch screen?

2019-01-25 Thread Luca Olivetti via lazarus
nd some tutorials on how to do it for ms development tools) and not portable. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus@lists.l

[Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Luca Olivetti via lazarus
El 6/2/19 a les 19:19, Luca Olivetti ha escrit: [The original thread was in fpc-devel, but this is a lazarus issue I think] El 6/2/19 a les 18:51, Sven Barth via fpc-devel ha escrit: Would you nevertheless try with 3.2, please? Just in case it happens to be the problem I had fixed in

Re: [Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Luca Olivetti via lazarus
El 13/2/19 a les 9:50, Werner Pamler via lazarus ha escrit: Please update your Laz-fixes installation: The patch for the issue with VirtualTreeView has been merged to fixes in r60091, that for the issue with TAChart in r60392. I checked out r60392 but I still cannot compile VirtualTreeView (c

Re: [Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Luca Olivetti via lazarus
El 13/2/19 a les 14:17, Werner Pamler via lazarus ha escrit: Am 13.02.2019 um 12:08 schrieb Luca Olivetti via lazarus: El 13/2/19 a les 9:50, Werner Pamler via lazarus ha escrit: I checked out r60392 but I still cannot compile VirtualTreeView (checked out from github https://github.com

Re: [Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Luca Olivetti via lazarus
El 13/2/19 a les 16:18, Luca Olivetti via lazarus ha escrit: No, you must use the VirtualTreeViews which comes with Lazarus (folder components/virtualtreeview). If you absolutely want to stay with this github version you should replace "var" in the offending methods by a "const

Re: [Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Luca Olivetti via lazarus
El 13/2/19 a les 17:10, Luca Olivetti via lazarus ha escrit: El 13/2/19 a les 16:18, Luca Olivetti via lazarus ha escrit: No, you must use the VirtualTreeViews which comes with Lazarus (folder components/virtualtreeview). If you absolutely want to stay with this github version you should

Re: [Lazarus] Lazarus with fpc 3.2 [was Re: [fpc-devel] Suspicion about TThread.Synchronize]

2019-02-13 Thread Luca Olivetti via lazarus
El 13/2/19 a les 23:56, Werner Pamler via lazarus ha escrit: Am 13.02.2019 um 17:18 schrieb Luca Olivetti via lazarus: I added a note to the wiki that both lclextensions and virtualtreeview are now included with lazarus. Which article? I want to have a look and check whether it is correct

Re: [Lazarus] Lazarus Release 2.0.0

2019-02-13 Thread Luca Olivetti via lazarus
El 5/2/19 a les 11:48, Mattias Gaertner via lazarus ha escrit: The Lazarus team is glad to announce the release of Lazarus 2.0.0. This release was built with FPC 3.0.4. The previous release Lazarus 1.8.4 was built with FPC 3.0.4 as well. Here is the list of changes for Lazarus and Free Pascal:

Re: [Lazarus] Lazarus Release 2.0.0

2019-02-14 Thread Luca Olivetti via lazarus
El 14/2/19 a les 8:53, Luca Olivetti via lazarus ha escrit: El 5/2/19 a les 11:48, Mattias Gaertner via lazarus ha escrit: The Lazarus team is glad to announce the release of Lazarus 2.0.0. This release was built with FPC 3.0.4. The previous release Lazarus 1.8.4 was built with FPC 3.0.4 as

Re: [Lazarus] Convert record to JSON?

2019-02-26 Thread Luca Olivetti via lazarus
a previously serialized version, but without real field names I suppose that wouldn't work properly). Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazaru

Re: [Lazarus] Convert record to JSON?

2019-02-26 Thread Luca Olivetti via lazarus
rk-in-progress. No big issue, I will serialize those records manually. Being lazy I would have avoided it ;-) Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing

Re: [Lazarus] Compile time varies dependiong on usage, why?

2019-05-26 Thread Luca Olivetti via lazarus
El 26/5/19 a les 8:54, Michael Van Canneyt via lazarus ha escrit: There may be other factors involved (maybe lazarus decides to recompile the LCL or other packages, altough it would really surprise me to hear that) , but I think the above is the most likely. Unrelated, but it does that quit

Re: [Lazarus] is there a free Grid component better than the default TStringGrid?

2019-05-27 Thread Luca Olivetti via lazarus
El 27/5/19 a les 12:00, Werner Pamler via lazarus ha escrit: Am 27.05.2019 um 06:43 schrieb Dennis via lazarus: I am hoping one that supports different column types editing without much coding on my side. That's what the standard TStringGrid can do.  Just use Columns. You can pick an editor in

[Lazarus] Lazarus 2.0.2 can no longer rename procedures/methods?

2019-05-30 Thread Luca Olivetti via lazarus
As per the subject, right clicking on a procedure/method, the "refactoring->rename identifier" item is greyed out. It was available in 1.8.x. Is there some setting to re-enable it? Bye -- Luca -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org h

Re: [Lazarus] Lazarus 2.0.2 can no longer rename procedures/methods?

2019-05-30 Thread Luca Olivetti via lazarus
El 30/5/19 a les 12:07, Luca Olivetti via lazarus ha escrit: As per the subject, right clicking on a procedure/method, the "refactoring->rename identifier" item is greyed out. It was available in 1.8.x. Is there some setting to re-enable it? Mmh, in spite of it being greyed

[Lazarus] really strange messagedlg hang

2019-05-31 Thread Luca Olivetti via lazarus
t this bug? The solution seems simple but I'm not sure it's correct. https://bugs.freepascal.org/view.php?id=35646 Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 --

Re: [Lazarus] really strange messagedlg hang

2019-06-01 Thread Luca Olivetti via lazarus
El 31/5/19 a les 17:16, Luca Olivetti via lazarus ha escrit: If I recompile it with lazarus 2.0.2[*]/fpc 3.2.beta (cannot use 3.0.2 due to the above mentioned thread issue) the problem disappears. It also disappears (with lazarus 1.6.4/fpc 2.6.4) if I turn off the option "use manifest

Re: [Lazarus] really strange messagedlg hang

2019-06-10 Thread Luca Olivetti via lazarus
El 1/6/19 a les 12:18, Luca Olivetti via lazarus ha escrit: El 31/5/19 a les 17:16, Luca Olivetti via lazarus ha escrit: If I recompile it with lazarus 2.0.2[*]/fpc 3.2.beta (cannot use 3.0.2 due to the above mentioned thread issue) the problem disappears. It also disappears (with lazarus

Re: [Lazarus] really strange messagedlg hang

2019-06-10 Thread Luca Olivetti via lazarus
El 10/6/19 a les 12:50, Martin Frb via lazarus ha escrit: On 10/06/2019 12:40, Luca Olivetti via lazarus wrote: El 1/6/19 a les 12:18, Luca Olivetti via lazarus ha escrit: El 31/5/19 a les 17:16, Luca Olivetti via lazarus ha escrit: If I recompile it with lazarus 2.0.2[*]/fpc 3.2.beta (cannot

Re: [Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers

2019-08-31 Thread Luca Olivetti via lazarus
{ d: 12345678.3 }'); The parser at mozilla says: "Error: JSON.parse: expected property name or '}' at line 1 column 3 of the JSON data" Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___

[Lazarus] autocomplete a lookup field in Dbgrid?

2019-10-13 Thread Luca Olivetti via lazarus
omplete (I saw some forum post when they say it's problematic, don't know if it has been solved now), but I cannot use it since I'm setting two fields, not one. Any idea? TIA -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 588

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-13 Thread Luca Olivetti via lazarus
System.Move(FPositionToIndex[I + 1], FPositionToIndex[I] , (Upper - I) * SizeOf(TColumnIndex)); end; // Decrease all indices, which are greater than the index to be deleted. if FPositionToIndex[I] > OldIndex then Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.e

Re: [Lazarus] [Lazarusdev] RFC --- We are planning the next release: Lazarus 2.0.6

2019-10-16 Thread Luca Olivetti via lazarus
El 16/10/19 a les 12:31, Juha Manninen via lazarus ha escrit: On Sun, Oct 13, 2019 at 4:10 PM Luca Olivetti via lazarus wrote: In my copy of lazarus 2.0.4 I have the fix for bug https://bugs.freepascal.org/view.php?id=35716 I added it to the list to be merged for 2.0.6. and the patch for

[Lazarus] DBNavigator: why is the refresh button enabled only if the dataset is modifiable?

2019-10-16 Thread Luca Olivetti via lazarus
show the data, but another application can change it, hence a refresh could be needed. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus

Re: [Lazarus] DBNavigator: why is the refresh button enabled only if the dataset is modifiable?

2019-10-16 Thread Luca Olivetti via lazarus
El 16/10/19 a les 19:49, Juha Manninen via lazarus ha escrit: On Wed, Oct 16, 2019 at 6:11 PM Luca Olivetti via lazarus wrote: In lcl/include/dbcustomnavigator.inc, method TDBCustomNavigator.EditingChanged CanModify:=Enabled and FDataLink.Active and FDataLink.DataSet.CanModify; ... Buttons

Re: [Lazarus] Feedback about GDB on Windows

2019-10-21 Thread Luca Olivetti via lazarus
.. dwarf with sets (-gw -godwarfsets) -> f = record TEXT {} dwarf2 (-gw2) -> f = record TEXT {} dwarf3 (-gw3) -> no symbol F in current context This is with the default gdb, with 8.2 it only changes the output of gw3 () Bye -- Luca Olivetti Wetron Automation Technology http://www.wetro

Re: [Lazarus] debug "textfile" [[was: Re: Feedback about GDB on Windows]]

2019-10-24 Thread Luca Olivetti via lazarus
El 25/10/19 a les 3:24, Martin Frb via lazarus ha escrit: On 21/10/2019 12:18, Luca Olivetti via lazarus wrote: Testing with Stabs (fpc -g or -gs  / the default for 32 bit) is pointless. It's the only format that shows the content of a record, e.g. var f:textfile stabs (-g) -> f

Re: [Lazarus] The future of the Lazarus IDE

2019-11-23 Thread Luca Olivetti via lazarus
the votes isn't selectable in the poll. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

2019-11-24 Thread Luca Olivetti via lazarus
ogram (with arglist, if specified). bt Backtrace: display the program stack. " Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus

  1   2   3   4   >