Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
Is there a way to emphasize the active tab in a TPagecontrol?
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] Heaptrc reports ...
by
Bart
[
Today
at 06:46:34 pm]
Anyone interested in help...
by
ad1mt
[
Today
at 05:28:08 pm]
Lazarus Blowfish
by
rvk
[
Today
at 05:17:17 pm]
AArch64. Slow program sta...
by
LemonParty
[
Today
at 04:46:31 pm]
Help with search and repa...
by
avk
[
Today
at 04:35:29 pm]
An Idea for a helpful uti...
by
Curt Carpenter
[
Today
at 04:33:20 pm]
Info for PTCGraph users.....
by
Handoko
[
Today
at 04:01:45 pm]
Initialize list in functi...
by
PeterHu
[
Today
at 10:33:27 am]
Tips for cross-compiling ...
by
Seenkao
[
Today
at 09:25:29 am]
Drawing a picture on the ...
by
DMH
[
Today
at 05:01:07 am]
How detect a keypress in ...
by
Remy Lebeau
[November 09, 2025, 07:49:50 pm]
Paradox date filter
by
tawfiq-lz
[November 09, 2025, 07:46:20 pm]
Why is there no Chinese s...
by
Ten_Mile_Hike
[November 09, 2025, 06:55:11 pm]
Convert table to JSON arr...
by
paweld
[November 09, 2025, 05:56:56 pm]
Unexpected lack of error ...
by
n7800
[November 09, 2025, 05:39:10 pm]
FPC 3.2.4-rc1 available
by
pleumann
[November 09, 2025, 05:12:32 pm]
application crashes on st...
by
Thaddy
[November 09, 2025, 04:17:28 pm]
Blog area?
by
Martin_fr
[November 09, 2025, 02:00:17 pm]
SimpleXML
by
ednaldomoreira
[November 09, 2025, 01:45:18 pm]
What happens if you use "...
by
Thaddy
[November 09, 2025, 01:39:12 pm]
CustomDraw package compil...
by
lainz
[November 09, 2025, 01:21:58 pm]
Register global hotkey
by
Thaddy
[November 09, 2025, 12:46:46 pm]
How to port TArray.Sort?
by
Thaddy
[November 09, 2025, 12:20:36 pm]
Dynamic libraries in Linu...
by
Fred vS
[November 08, 2025, 10:28:42 pm]
FPC v3.2.2 internal error
by
440bx
[November 08, 2025, 09:15:48 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Is there a way to emphasize the active tab in a TPagecontrol? (Read 1082 times)
dpap
Jr. Member
Posts: 55
Is there a way to emphasize the active tab in a TPagecontrol?
«
on:
February 09, 2025, 12:53:57 pm »
The active tab in a TPage/TabControl is not easy to distinguish from the inactive tab. is there a way to add this feature (bold/italic/psolored font etc) ?
EDIT:
PS-1. I use
Windows
11
PS-2. TcyPageControl emphasizes the caption but not only the selected (the previous stays emphasized!). And TcyTabControl doesn't emphasize at all
«
Last Edit: February 10, 2025, 10:34:56 am by dpap
»
Logged
cdbc
Hero Member
Posts: 2464
Re: Is there a way to emphasize the active tab in a TPagecontrol?
«
Reply #1 on:
February 09, 2025, 04:17:43 pm »
Hi
I bet you're on winders, 'cause it's working great on linux with QT5...
Search this forum, there have been some posts regarding pagecontrol etc.
Regards Benny
Logged
If it ain't broke, don't fix it
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99
morknot
Jr. Member
Posts: 55
still learning
Re: Is there a way to emphasize the active tab in a TPagecontrol?
«
Reply #2 on:
February 13, 2025, 11:11:25 am »
Apart from changing the page control Style to one of the 2 button options, it doesn't look like it.
Logged
cdbc
Hero Member
Posts: 2464
Re: Is there a way to emphasize the active tab in a TPagecontrol?
«
Reply #3 on:
February 13, 2025, 11:59:34 am »
Hi
IIRC on winders, this involves some /own/-painting on the tab-'flaps'-canvas, it's somewhat the same with the 'closebutton' -- DIY
I do believe that most of it is described here on the forum, search for it...
Regards benny
Logged
If it ain't broke, don't fix it
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99
LV
Sr. Member
Posts: 358
Re: Is there a way to emphasize the active tab in a TPagecontrol?
«
Reply #4 on:
February 13, 2025, 08:56:18 pm »
This method is very straightforward. I tested it on Windows 11, but I believe it also works on other operating systems. Enjoy!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
Is there a way to emphasize the active tab in a TPagecontrol?
TinyPortal
© 2005-2018