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
Hint not being shown
by
Martin_fr
[
Today
at 03:10:31 pm]
Portable verion of FPC an...
by
Martin_fr
[
Today
at 02:34:35 pm]
embed .jpg file into .pp ...
by
cdbc
[
Today
at 02:22:50 pm]
UnoLib - library in Pasca...
by
ackarwow
[
Today
at 02:16:15 pm]
[New Component] ExtTabCtr...
by
wp
[
Today
at 01:52:10 pm]
Splitting Picture into Qu...
by
ADMGNS
[
Today
at 01:16:55 pm]
Lazarus 4.99 - New featur...
by
zeljko
[
Today
at 12:24:18 pm]
Lazarus Main and Gnome/Wa...
by
zeljko
[
Today
at 12:19:20 pm]
Knigo
by
Guva
[
Today
at 11:38:57 am]
FPC Unleashed (inline var...
by
Fibonacci
[
Today
at 10:44:12 am]
GDB 17 for Windows
by
Martin_fr
[
Today
at 10:05:07 am]
Very rough version of a s...
by
hedgehog
[
Today
at 08:24:00 am]
Release ray4laz 6.0
by
Guva
[
Today
at 07:45:39 am]
water filling simulation
by
ADMGNS
[June 06, 2026, 09:54:50 pm]
Array of structure -> str...
by
Seenkao
[June 06, 2026, 09:44:44 pm]
TStringGrid Question
by
J-G
[June 06, 2026, 08:05:52 pm]
Benchmark: converting arr...
by
LemonParty
[June 06, 2026, 03:25:25 pm]
Read/Parse PDB file to ge...
by
marcov
[June 06, 2026, 02:48:12 pm]
[SOVLED]Curved text in La...
by
paweld
[June 06, 2026, 11:00:52 am]
Fast Canvas Library V1.05...
by
microxa
[June 06, 2026, 07:03:07 am]
"Identifier idents no mem...
by
Thaddy
[June 06, 2026, 05:43:52 am]
[SOLVED] TPrintDialog Pro...
by
spuds
[June 06, 2026, 01:30:20 am]
TPairsplitter could be be...
by
jamie
[June 06, 2026, 12:36:34 am]
FloatToStr issue
by
J-G
[June 06, 2026, 12:06:38 am]
Pascal for AI Agent CLI T...
by
Martin_fr
[June 05, 2026, 08:01:11 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Are TPanel/TForm/TFrame getting dark OS theme? (Read 2042 times)
AlexTP
Hero Member
Posts: 2713
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: 1278
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: 2713
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