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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
GTK3 still alpha
by
regs
[
Today
at 01:46:35 am]
accessing array members i...
by
Weiss
[
Today
at 12:28:32 am]
2d "platform" game sugges...
by
flowCRANE
[
Today
at 12:25:28 am]
looping direction control...
by
440bx
[April 19, 2025, 08:08:37 pm]
ppaslink.sh: line 9: 6262...
by
Thaddy
[April 19, 2025, 07:58:29 pm]
JSON parser handler
by
cdbc
[April 19, 2025, 07:01:19 pm]
[SOLVED] Converting psd f...
by
TRon
[April 19, 2025, 06:58:36 pm]
This is me back in Lazaru...
by
TBMan
[April 19, 2025, 06:33:55 pm]
Avaiable instruction set
by
Thaddy
[April 19, 2025, 06:30:56 pm]
Best way to exchange data...
by
Hansvb
[April 19, 2025, 06:24:07 pm]
[Solved] How to call a cl...
by
nikel
[April 19, 2025, 05:09:22 pm]
Announcing TRURL RPN Engi...
by
jwdietrich
[April 19, 2025, 05:07:49 pm]
TRURL's segmitator availa...
by
jwdietrich
[April 19, 2025, 05:05:36 pm]
TRURL G released
by
jwdietrich
[April 19, 2025, 05:03:40 pm]
Animated Sine Flower
by
Thaddy
[April 19, 2025, 04:33:52 pm]
Compile Error on Assign f...
by
Thaddy
[April 19, 2025, 04:27:02 pm]
making types totally inco...
by
Thaddy
[April 19, 2025, 03:13:24 pm]
Why VirtualDBTreeEx not c...
by
wp
[April 19, 2025, 01:08:42 pm]
problem with easylazfreet...
by
ronhud
[April 19, 2025, 01:08:18 pm]
Forum slow for others as ...
by
Thaddy
[April 19, 2025, 11:25:43 am]
Errors linking the projec...
by
Thaddy
[April 19, 2025, 11:20:59 am]
How to DIY a filerec reco...
by
Thaddy
[April 19, 2025, 11:18:33 am]
in-memory machine code ge...
by
paule32
[April 19, 2025, 11:02:10 am]
Win11 - How to start cons...
by
dculp
[April 19, 2025, 12:21:51 am]
[SOLVED] Download link to...
by
Wings2018
[April 18, 2025, 10:37:08 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Is there a way to emphasize the active tab in a TPagecontrol? (Read 883 times)
dpap
Jr. Member
Posts: 52
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: 2077
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 -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99
morknot
Jr. Member
Posts: 53
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: 2077
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 -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99
LV
Full Member
Posts: 245
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