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
connecting to mariadb
by
Zvoni
[
Today
at 08:20:31 am]
Is Lazarus' Tool Palette ...
by
Ed78z
[
Today
at 07:50:39 am]
Question re. FCL's ssocke...
by
Khrys
[
Today
at 07:00:32 am]
[hacked for now] Changing...
by
d2010
[
Today
at 05:56:34 am]
Status of Missile Command...
by
TBMan
[
Today
at 03:42:52 am]
About the Class View
by
yinhuajian
[
Today
at 03:03:33 am]
Does FreePascal have a WM...
by
CM630
[December 15, 2025, 11:20:24 pm]
AVRPascal – free code edi...
by
ackarwow
[December 15, 2025, 10:40:17 pm]
Why does the call via fun...
by
ASerge
[December 15, 2025, 10:06:19 pm]
TLazSerial : serial port ...
by
CM630
[December 15, 2025, 09:56:09 pm]
delete cookies
by
Leledumbo
[December 15, 2025, 05:14:27 pm]
Error: Enumeration symbol...
by
nanobit
[December 15, 2025, 04:17:38 pm]
AI interactions
by
Zvoni
[December 15, 2025, 02:19:48 pm]
Recomendations for conver...
by
kompustelnik
[December 15, 2025, 11:20:05 am]
Qt6 / X11: problem with G...
by
paweld
[December 15, 2025, 11:14:43 am]
[Solved] Lookup field: er...
by
BlueIcaro
[December 15, 2025, 09:59:57 am]
LCL Web Native with D2Bri...
by
egsuh
[December 15, 2025, 08:10:14 am]
Access Violation - Databa...
by
Xenno
[December 15, 2025, 06:21:52 am]
SpkToolbar custom update
by
wp
[December 14, 2025, 11:55:55 pm]
MVP made easier.
by
cdbc
[December 14, 2025, 05:14:40 pm]
Lazarus is not working
by
Fred vS
[December 14, 2025, 05:14:20 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 14, 2025, 04:52:18 pm]
Running External Tools
by
JuhaManninen
[December 14, 2025, 04:08:28 pm]
The start of yet another ...
by
TBMan
[December 14, 2025, 03:16:21 pm]
Need help with Runcommand...
by
marcov
[December 14, 2025, 12:46:25 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Is there a way to emphasize the active tab in a TPagecontrol? (Read 1121 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: 2531
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/QT6 -> FPC Release -> Lazarus Release & FPC Main -> Lazarus Main
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: 2531
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/QT6 -> FPC Release -> Lazarus Release & FPC Main -> Lazarus Main
LV
Sr. Member
Posts: 380
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