[Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
Hi all, I don't use windows, so don't know what exact behaviour should be. Now: MainForm + One modal form, minimizing modal form does not minimize mainform (application). (tested with win32 and qt-win32 widgetsets) X11: Minimizing modal form minimizes complete application. (qt, gtk2) My

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:28 AM, Graeme Geldenhuys wrote: On 2016-02-08 10:24, zeljko wrote: Some window managers (eg JWM and xfce AFAIR) refuse to show minimize button on modal windows. I do fully understand that X11 window manager can decide to to show and what not to show But, fpGUI's modal

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:00 AM, Ondrej Pokorny wrote: On 08.02.2016 10:46, zeljko wrote: 2.Change default behaviour - minimized modal form minimizes complete app. I like how it works under X11 eg minimizing Lazarus About dialog under KDE kwin, minimizes complete app, clicking on app in tray,

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
On 2016-02-08 08:02, zeljko wrote: > X11: Minimizing modal form minimizes complete application. (qt, gtk2) Well, under X11 it is hard to find an application with a modal dialog to start with. Modal dialogs are considered very bad design (read the book "About Face 4th edition"). With every

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Ondrej Pokorny
On 08.02.2016 10:46, zeljko wrote: 2.Change default behaviour - minimized modal form minimizes complete app. I like how it works under X11 eg minimizing Lazarus About dialog under KDE kwin, minimizes complete app, clicking on app in tray, restores app. Delphi does the same - if you hit

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Denis Kozlov
There is a long standing bug report about this particular topic: 0026463: Application minimize not working with modal forms http://bugs.freepascal.org/view.php?id=26463 *Issue 1*: Application.Minimize should always minimize the entire application, including modal forms. Currently, the modal

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:15 AM, Graeme Geldenhuys wrote: Ah, we got to love LCL consistency. [NOT] Lazarus v1.7 About dialog under LCL-GTK2 (on my JWM desktop environment), there is no minimize button. The about dialog only has a Maximize () and a Close button. Either way, I agree with point 2.

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
Hi, [mailing list: strangely, I get replies to zeljko's message, yet haven't seen zeljko's reply yet (and no, I don't have spam filters set up). I had to copy the quote text below from the Lazarus archives.] On 2016-02-08 08:02, zeljko wrote: > Actually, LCL applications (Delphi also) CAN HAVE

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 10:26 AM, Graeme Geldenhuys wrote: On 2016-02-08 08:02, zeljko wrote: X11: Minimizing modal form minimizes complete application. (qt, gtk2) Well, under X11 it is hard to find an application with a modal dialog to start with. Modal dialogs are considered very bad design (read the

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
On 2016-02-08 10:24, zeljko wrote: > Some window managers (eg JWM and xfce AFAIR) refuse to show minimize > button on modal windows. I do fully understand that X11 window manager can decide to to show and what not to show But, fpGUI's modal dialogs show the minimize button under JWM. The

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread zeljko
On 02/08/2016 11:00 AM, Denis Kozlov wrote: There is a long standing bug report about this particular topic: 0026463: Application minimize not working with modal forms http://bugs.freepascal.org/view.php?id=26463 *Issue 1*: Application.Minimize should always minimize the entire application,

Re: [Lazarus] Question about modal forms behaviour under windows

2016-02-08 Thread Graeme Geldenhuys
On 2016-02-08 11:40, zeljko wrote: > fpgui is using libX11, not gtk2 or qt afair, so rules are different. All three speak to the same window manager in the end, and your argument was that some Window Managers don't adhere to such a request. Well, I just mentioned that JWM does adhere to such a

Re: [Lazarus] How to separate window editor from code.

2016-02-08 Thread Donald Ziesig
On 02/08/2016 08:12 PM, leledumbo wrote: How can I restore this to the way it was back on 1.4? Uninstall sparta_dockedformeditor package. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-to-separate-window-editor-from-code-tp4047123p4047127.html

Re: [Lazarus] Exclude components from localization by path or text

2016-02-08 Thread Aradeonas
Very good,Please let us know. Regards, Ara -- http://www.fastmail.com - The professional email service -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] FreePascal TCPIP data tunnel code sample?

2016-02-08 Thread Bo Berglund
On Fri, 5 Feb 2016 17:50:16 +0100, Koenraad Lelong wrote: >>> Isn't this just port-forwarding ? Set up the firewall to forward data to >>> the wired NIC to the device's address and port. >>> >> Which firewall? >> But you are right in the port forwarding part. I want my

Re: [Lazarus] "Test" button in project inspector

2016-02-08 Thread Vojtěch Čihák
Main menu: Source -> Quick Syntax Check   Of course, you can assing some handy shortcut to it.   V. __ Od: Bo Berglund Komu: Datum: 08.02.2016 16:05 Předmět: Re: [Lazarus]

Re: [Lazarus] "Test" button in project inspector

2016-02-08 Thread Bo Berglund
On Fri, 5 Feb 2016 14:52:23 +0100, Werner Pamler wrote: >In the Project inspector window, there is a Test button. What is it good >for? Its function is not documented in the help file accessible by the >Help button at the left. What's confusing is that executing

Re: [Lazarus] Problem with Sparta docked form designer

2016-02-08 Thread Maciej Izak
2016-02-07 23:00 GMT+01:00 Anthony Walter : > I was looking at the code. There might not be an easy solution but the > docked designer really needs to support this feature. Can you point out > where in the package you are picking the class for and then creating the > docked

[Lazarus] How to separate window editor from code.

2016-02-08 Thread Donald Ziesig
Hi All! I recently updated raspberry pi to 1.7. When I did, the window editor became a tab in the source editor. This is a real problem. I can't figure out how to tell the window where it was designed. Now it will center on screen, on parent form, etc, but I want to put it into a specific

[Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-08 Thread Bo Berglund
I tried setting the conditional "UseCThreads" for my test project but even though I can reach the place where this apparently is set: Menu: Project/Project_Options/Custom_Options/Defines it seems not to work! When I use this dialog to enter the symbol UseCThreads the effect is invisible when I

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-08 Thread micsch
Am Monday 08 February 2016 20:24:36 schrieb Bo Berglund: > I tried setting the conditional "UseCThreads" for my test project but > even though I can reach the place where this apparently is set: > Menu: Project/Project_Options/Custom_Options/Defines > it seems not to work! > > When I use this

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-08 Thread Mattias Gaertner
> Bo Berglund hat am 8. Februar 2016 um 20:24 > geschrieben: > > I tried setting the conditional "UseCThreads" for my test project but > even though I can reach the place where this apparently is set: > Menu: Project/Project_Options/Custom_Options/Defines > it seems not to

Re: [Lazarus] How to separate window editor from code.

2016-02-08 Thread leledumbo
> How can I restore this to the way it was back on 1.4? Uninstall sparta_dockedformeditor package. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-to-separate-window-editor-from-code-tp4047123p4047127.html Sent from the Free Pascal - Lazarus