Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Are TPanel/TForm/TFrame getting dark OS theme?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[SOLVED] Where are my Uni...
by
tfurnivall
[
Today
at 12:05:13 am]
Anyone interested in help...
by
Roland57
[November 06, 2025, 11:49:36 pm]
synedit
by
scasparz
[November 06, 2025, 11:22:06 pm]
Google announced the kill...
by
Joanna
[November 06, 2025, 11:19:09 pm]
32 team NFL schedule for ...
by
TBMan
[November 06, 2025, 10:29:10 pm]
CustomDraw package compil...
by
Mother10
[November 06, 2025, 10:24:06 pm]
OPCB – Object Pascal Comp...
by
fabianoallex
[November 06, 2025, 09:40:16 pm]
Strange result of text so...
by
PascalDragon
[November 06, 2025, 08:58:36 pm]
Build FCP with WinCE cros...
by
PascalDragon
[November 06, 2025, 08:40:13 pm]
Raising an exception with...
by
PascalDragon
[November 06, 2025, 08:29:26 pm]
Recreate RES file
by
Paolo
[November 06, 2025, 08:10:13 pm]
How detect a keypress in ...
by
440bx
[November 06, 2025, 07:21:11 pm]
Code improvement, suggest...
by
cris75
[November 06, 2025, 07:17:19 pm]
TArrayHelper
by
Thaddy
[November 06, 2025, 07:10:33 pm]
TLazSerial : serial port ...
by
mas steindorff
[November 06, 2025, 07:03:25 pm]
Lazarus portable?
by
marcov
[November 06, 2025, 06:06:20 pm]
Text file and Timer
by
Ilya83
[November 06, 2025, 05:15:26 pm]
Searching character by ch...
by
Zvoni
[November 06, 2025, 05:07:44 pm]
CopyDirTree and empty dir...
by
Bart
[November 06, 2025, 03:44:55 pm]
Extract path from active ...
by
LemonParty
[November 06, 2025, 09:41:26 am]
Back arrow in App -> firs...
by
nicelybrewed
[November 06, 2025, 08:17:10 am]
What are some good modern...
by
mamta25
[November 06, 2025, 07:41:39 am]
Debugger freezes the PC
by
simsee
[November 05, 2025, 11:54:14 pm]
Procedure that undestand ...
by
n7800
[November 05, 2025, 10:15:54 pm]
Senior Lazarus / Free Pas...
by
lazdev
[November 05, 2025, 10:14:57 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Are TPanel/TForm/TFrame getting dark OS theme? (Read 1744 times)
AlexTP
Hero Member
Posts: 2614
Are TPanel/TForm/TFrame getting dark OS theme?
«
on:
February 25, 2022, 07:37:24 pm »
Because of this user report
https://github.com/Alexey-T/CudaText/issues/3975
I am asking:
- is TPanel automatically getting OS dark theme? Seems not yet
- is TForm also getting it? Seems yes.
- what about TFrame?
- what about TButton/TSpeedButton? screenshot from user shows that buttons are not getting dark theme, but button's font becomes light.
PS. I don't have modern Mac to test it..
«
Last Edit: February 25, 2022, 07:44:19 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
jwdietrich
Hero Member
Posts: 1263
Re: Are TPanel/TForm/TFrame getting dark OS theme?
«
Reply #1 on:
February 25, 2022, 08:07:11 pm »
It depends on the settings of certain properties in the object inspector. If colours are set to default then the dark theme is supported.
Logged
function GetRandomNumber: integer; // xkcd.com
begin
GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;
http://www.formatio-reticularis.de
Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux
AlexTP
Hero Member
Posts: 2614
Re: Are TPanel/TForm/TFrame getting dark OS theme?
«
Reply #2 on:
February 25, 2022, 08:13:15 pm »
Quote
If colours are set to default then the dark theme is supported.
i am seeing the opposite for TPanel. in my project TPanel has default color (code don't change the BG color at all) and Panel is light on dark theme.
EDIT. i see the opposite for __TForm__.
«
Last Edit: February 25, 2022, 08:15:36 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Are TPanel/TForm/TFrame getting dark OS theme?
TinyPortal
© 2005-2018