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
Scrolling the form.
by
korba812
[
Today
at 12:59:10 am]
Remote access to database...
by
duralast
[
Today
at 12:29:27 am]
New 2D StarField
by
Gigatron
[March 18, 2025, 11:19:00 pm]
NIL vs. Assign: when to u...
by
440bx
[March 18, 2025, 10:07:02 pm]
New version of BGRABitmap
by
sstvmaster
[March 18, 2025, 09:13:12 pm]
Sets Vs Arrays. When to ...
by
440bx
[March 18, 2025, 08:57:02 pm]
GTK3 still alpha
by
PascalDragon
[March 18, 2025, 08:56:17 pm]
efficiency problem
by
PascalDragon
[March 18, 2025, 08:48:11 pm]
Connection to MySQL versi...
by
iginfo
[March 18, 2025, 08:32:32 pm]
Internal error
by
PascalDragon
[March 18, 2025, 08:24:30 pm]
Pagecontrol - Tabsheet ca...
by
Martin_fr
[March 18, 2025, 08:22:41 pm]
Dialogs and TTimer inside...
by
d2010
[March 18, 2025, 08:13:19 pm]
Add,update and delete by ...
by
wcage03
[March 18, 2025, 07:42:11 pm]
DbGrid or TSQLQuery best ...
by
wcage03
[March 18, 2025, 07:32:28 pm]
Converting a Project from...
by
wcage03
[March 18, 2025, 07:25:26 pm]
Undefined symbol: WSRegis...
by
d2010
[March 18, 2025, 07:15:20 pm]
TValueListEditor wont acc...
by
paule32
[March 18, 2025, 07:04:33 pm]
Force parameters of my ap...
by
cdbc
[March 18, 2025, 07:01:30 pm]
File open or File close -...
by
paule32
[March 18, 2025, 06:48:39 pm]
How To: Create and React ...
by
zxandris
[March 18, 2025, 05:19:20 pm]
Cursor changes to arrow o...
by
atlatl
[March 18, 2025, 05:16:44 pm]
dmg may contain virus
by
turunk
[March 18, 2025, 05:02:19 pm]
i have function named sho...
by
Thaddy
[March 18, 2025, 04:33:29 pm]
How to declare couple of ...
by
Thaddy
[March 18, 2025, 04:32:12 pm]
Forum number of posts
by
MarkMLl
[March 18, 2025, 01:17:40 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Is there a way to emphasize the active tab in a TPagecontrol? (Read 853 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: 1953
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: 1953
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: 239
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