Re: [Lazarus] PostMessage return value

2014-09-26 Thread Michael Schnell
On 09/19/2014 03:48 PM, Michael Schnell wrote: I can post this version of the TThreadPool class here, if you might want to try it. I'd be very interested in knowing if the project works correctly on your (64 bit) systems. I set up a virtual Box with 64 Bit Debian, installed the released 64

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-26 Thread Giuliano Colla
Il 26/09/2014 00:42, Maxim Ganetsky ha scritto: [..] I propose to add two optional files sanitization/cleanup features: 1. Make all entries that have formatting errors fuzzy. 2. Remove PreviousMsgId (comments starting with #| ) from entries which are not fuzzy (in this case such comments

[Lazarus] Hooking into the IDEs save events?

2014-09-26 Thread vfclists .
During development a lot unneeded changes occur forms, especially when you move them around or click on controls to set events etcetera. I want to have settings which stop forms or data modules from being edited or that abandons changes to the LFM or DFM when the project is being saved. Another

Re: [Lazarus] Hooking into the IDEs save events?

2014-09-26 Thread Mattias Gaertner
On Fri, 26 Sep 2014 10:59:30 +0100 vfclists . vfcli...@gmail.com wrote: [...] So in short are there some IDE events and procedures that can be hooked into to decide whether some changes will be allowed?v The properties in the Object Inspector are handled by property editors, which can reject

[Lazarus] GetWindowSize misleading documentation or bug?

2014-09-26 Thread Luca Olivetti
I was looking for a (hopefullyu) cross platform way to know the whole size of a window, including its decoration and I found this: http://lazarus-ccr.sourceforge.net/docs/lcl/lclintf/getwindowsize.html the documentation on that page reflect what I see on the tooltip in lazarus (1.2.4), *but*

[Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Leonardo M. Ramé
Hi, on GTK2, when I alt+tab from another app, I would like to bring to front all Lazarus windows, instead I hav to alt+tab several times until each window (editor, menu, Object Inspector, etc.) comes to front. Is it possible to link all lazarus windows in a way that when alt+tab they work as

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread William Ferreira
On IDE Options, try to enable 'Show single button in TaskBar'. Maybe could help... Date: Fri, 26 Sep 2014 10:07:20 -0300 From: l.r...@griensu.com To: lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] Alt + tab IDE Windows Hi, on GTK2, when I alt+tab from another app, I would like to

[Lazarus] Cannot open a non-select statement.

2014-09-26 Thread Izac Kruger
Hi All, I am new on lazarus, I got one form on which I performed 2 onClick even on 2 button: The first button its for INSERT the data in the SQLite database, The second button its for CLEAR the information on the form. After I have clicked on the first button to INSERT the data, the operation

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Leonardo M. Ramé
El 26/09/14 a las 10:52, William Ferreira escibió: On IDE Options, try to enable 'Show single button in TaskBar'. Maybe could help... Yes, I tried that before asking, but sadly it does exactly the same. -- Leonardo M. Ramé http://leonardorame.blogspot.com --

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Michael Van Canneyt
On Fri, 26 Sep 2014, Leonardo M. Ramé wrote: El 26/09/14 a las 10:52, William Ferreira escibió: On IDE Options, try to enable 'Show single button in TaskBar'. Maybe could help... Yes, I tried that before asking, but sadly it does exactly the same. I can confirm that. Kubuntu 14.04 and

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Juha Manninen
On Fri, Sep 26, 2014 at 4:07 PM, Leonardo M. Ramé l.r...@griensu.com wrote: Is it possible to link all lazarus windows in a way that when alt+tab they work as one app, instead of separated windows?. Yes, the docking frameworks, although they have other issues. If you alt+tab to the Lazarus

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Henry Vermaak
On Fri, Sep 26, 2014 at 05:11:58PM +0200, Michael Van Canneyt wrote: On Fri, 26 Sep 2014, Leonardo M. Ramé wrote: El 26/09/14 a las 10:52, William Ferreira escibió: On IDE Options, try to enable 'Show single button in TaskBar'. Maybe could help... Yes, I tried that before asking,

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-26 Thread Bart
On 9/25/14, Giuliano Colla giuliano.co...@fastwebnet.it wrote: Yes, sort of a sub-choice: all languages or just a language string . No need to be fussy: if a string for a non-existing language is selected, nothing is found, and that's all. Actually I think I will implement a filter of some

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-26 Thread Bart
I propose to add two optional files sanitization/cleanup features: 1. Make all entries that have formatting errors fuzzy. 2. Remove PreviousMsgId (comments starting with #| ) from entries which are not fuzzy (in this case such comments are no longer relevant, but translation tools don't

Re: [Lazarus] Cannot open a non-select statement.

2014-09-26 Thread William Ferreira
For SELECT statements use TSQLQuery.Open; For INSERT, DELETE or UPDATE, use TSQLQuery.ExecSQL; Date: Fri, 26 Sep 2014 15:52:07 +0200 From: izac.kru...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] Cannot open a non-select statement. Hi All, I am new on lazarus, I got one

Re: [Lazarus] Cannot open a non-select statement.

2014-09-26 Thread Rik van Kekem
Izac Kruger wrote: if I clicked on the second button who is to removed all the data on the fields, then after refield again the information and clicked on the INSERT button, I received a funny message: SQLQeuryLite: Cannot open a non-select statement. ... else begin //DB connections.

Re: [Lazarus] GetWindowSize misleading documentation or bug?

2014-09-26 Thread Giuliano Colla
Il 26/09/2014 13:03, Luca Olivetti ha scritto: I was looking for a (hopefullyu) cross platform way to know the whole size of a window, including its decoration and I found this: http://lazarus-ccr.sourceforge.net/docs/lcl/lclintf/getwindowsize.html the documentation on that page reflect

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Graeme Geldenhuys
On 2014-09-26 16:11, Michael Van Canneyt wrote: I can confirm that. Kubuntu 14.04 and 12.04, using GTK2+ widgetset. I can confirm that. FreeBSD 10 using LCL-GTK2 and JWM window manager. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [Lazarus] GetWindowSize misleading documentation or bug?

2014-09-26 Thread Giuliano Colla
Il 26/09/2014 19:32, Giuliano Colla ha scritto: Il 26/09/2014 13:03, Luca Olivetti ha scritto: I was looking for a (hopefullyu) cross platform way to know the whole size of a window, including its decoration and I found this:

Re: [Lazarus] Alt + tab IDE Windows

2014-09-26 Thread Vojtěch Čihák
Hi,   when you are on Linux, why not have Lazarus on different virtual desktop than other apps (since there are more multi-windowed apps (like GIMP), it makes life easier). I use KDE4 and I switch by Ctrl+F1, Ctrl+F2 ... instead of Alt+Tab. KDE4 is probably the most configurable in this regard

Re: [Lazarus] GetWindowSize misleading documentation or bug?

2014-09-26 Thread Luca Olivetti
El 26/09/14 20:47, Giuliano Colla ha escrit: I was too hasty in my reply. After some tests here are the results: Yes, I was puzzled when you said it didn't work in an xp vm, since that's exactly the configuration I tested GetWindowSize returns the window client area in all platforms.

Re: [Lazarus] GetWindowSize misleading documentation or bug?

2014-09-26 Thread Luca Olivetti
El 26/09/14 22:45, Luca Olivetti ha escrit: El 26/09/14 20:47, Giuliano Colla ha escrit: I was too hasty in my reply. After some tests here are the results: Yes, I was puzzled when you said it didn't work in an xp vm, since that's exactly the configuration I tested GetWindowSize

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-26 Thread Maxim Ganetsky
26.09.2014 20:53, Bart пишет: I propose to add two optional files sanitization/cleanup features: 1. Make all entries that have formatting errors fuzzy. 2. Remove PreviousMsgId (comments starting with #| ) from entries which are not fuzzy (in this case such comments are no longer relevant, but

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-26 Thread Bart
On 9/26/14, Maxim Ganetsky gan...@narod.ru wrote: Currently it doesn't even have capabilities to create a PO-file from code. This can be taken from Translations unit. I know, I cut all that out when creating the SimplePofiles unit. Bart -- ___

Re: [Lazarus] GetWindowSize misleading documentation or bug?

2014-09-26 Thread Giuliano Colla
Il 26/09/2014 22:47, Luca Olivetti ha scritto: El 26/09/14 22:45, Luca Olivetti ha escrit: Strange, on mageia 4, kde, lazarus 1.2.4 it doesn't work. What I'm trying to do is to tile windows one next to the other. Using GetWindowRect under windows I can do it properly, while on linux gtk the

Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-09-26 Thread Giuliano Colla
Il 26/09/2014 18:51, Bart ha scritto: [..] Feel free to commit it, I will probably not interfere with my work. Before committing, I'll need to find a slot of free time, and then implement it :-) Giuliano -- Giuliano Colla Project planning question: when it's 90% done, are we halfway or not