Re: [Lazarus] Windows 10 force any non-white background color to White
Werner Pamler via Lazarus wrote: Am 15.10.2016 um 12:04 schrieb Dennis via Lazarus: Attached is a simple test project. Within the zip are 2 screen capture of the same program running in win 7 64 bit and Win 10 64 bit. The project was created with Lazarus 1.7; fpc 3.1.1 SVN 52643. For me, the frame is white in both Win7 and Win10. Did you deactivate themes in Win7? Your screenshot looks like this. This would switch to the old Win95 style, and give you back control over the color of many controls. In Lazarus, you can turn theme support off by unchecking "Use manifest file to enable themes" in the Project Options. This works also in Win10 - see attached screenshot: Yes, I disabled themes in win 7 (and forgot about it). Thank you so much. It worked after unchecking the "Use manifest file to enable themes". It would be even better if the options can be changed in runtime so that users can decide whether to enable themes. Dennis -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
Am 15.10.2016 um 12:04 schrieb Dennis via Lazarus: Attached is a simple test project. Within the zip are 2 screen capture of the same program running in win 7 64 bit and Win 10 64 bit. The project was created with Lazarus 1.7; fpc 3.1.1 SVN 52643. For me, the frame is white in both Win7 and Win10. Did you deactivate themes in Win7? Your screenshot looks like this. This would switch to the old Win95 style, and give you back control over the color of many controls. In Lazarus, you can turn theme support off by unchecking "Use manifest file to enable themes" in the Project Options. This works also in Win10 - see attached screenshot: -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
Am 14.10.2016 11:10 schrieb "Dennis via Lazarus" < lazarus@lists.lazarus-ide.org>: > > I have a program written in lazarus running normally in windows 7. > When run in windows 10, the green color of the Frame/Form is changed by Windows 10 to white. Can you reproduce this in a small example program so that differences regarding the project settings can be avoided? Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
On Fri, 14 Oct 2016 17:10:38 +0800 Dennis via Lazarus wrote: > I have a program written in lazarus running normally in windows 7. > When run in windows 10, the green color of the Frame/Form is changed by > Windows 10 to white. > > Now my customer is complaining the bright white is hurting his eyes. > > Can anyone help? I googled and the only articles is about changing the > title bar color, not the form's color. This works here: When I set the Form1.Color to clGreen I see green background on Win10. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
On 2016-10-14 11:01, Giuliano Colla via Lazarus wrote: > My best suggestion is to encourage your customer to downgrade to Windows 7. Yeah right - that will never happen! All that effort just for one application, because LCL doesn't support the most basic of theming. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
Am 14.10.2016 um 11:10 schrieb Dennis via Lazarus: Can anyone help? I googled and the only articles is about changing the title bar color, not the form's color. Dennis Maybe a TPanel can help. Ingo -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
Am 14.10.2016 um 11:10 schrieb Dennis via Lazarus: I have a program written in lazarus running normally in windows 7. When run in windows 10, the green color of the Frame/Form is changed by Windows 10 to white. Hi, I can't confirm that for Windows 10 1610 32bit with Lazarus 1.6/ FPC 3.0 and Lazarus/FPC Trunk. Form shows colour correctly (see pic) and frame seems to be transparent. Ingo -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Windows 10 force any non-white background color to White
Il 14/10/2016 11:10, Dennis via Lazarus ha scritto: I have a program written in lazarus running normally in windows 7. When run in windows 10, the green color of the Frame/Form is changed by Windows 10 to white. My best suggestion is to encourage your customer to downgrade to Windows 7. Hewlett Packard, when you select a professional grade laptop or desktop, as of today is still providing Windows 7 professional preinstalled, and includes an upgrade DVD to Windows 10, which you may decide to use, but at your own risk. They know better! Giuliano -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus