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
I get access violation wh...
by
Froxter
[
Today
at 06:23:55 pm]
Convert this Python code ...
by
ccrause
[
Today
at 06:15:35 pm]
Newbie in Web Programming...
by
Nicole
[
Today
at 06:06:04 pm]
Barchart - why ist the fi...
by
wp
[
Today
at 06:06:03 pm]
Fpcupdeluxe and trunk
by
LemonParty
[
Today
at 05:10:08 pm]
Reducing the saturation o...
by
Handoko
[
Today
at 05:05:23 pm]
Testing with SQLite3DataS...
by
Hansvb
[
Today
at 05:00:15 pm]
Why isn't Lazarus / Free ...
by
marcov
[
Today
at 04:52:43 pm]
How to use MySQL by PHP ?
by
FMR
[
Today
at 04:44:31 pm]
New shader examples for r...
by
TBMan
[
Today
at 03:49:53 pm]
Macos Sequoia Lazarus 3.8...
by
turunk
[
Today
at 02:32:56 pm]
Compile Error on Assign f...
by
turunk
[
Today
at 02:30:39 pm]
Cannot execute Lazarus ID...
by
maurobio
[
Today
at 02:00:14 pm]
Writing a TMemo widget fr...
by
Martin_fr
[
Today
at 01:05:29 pm]
Koi Fish Fractal Tree (Us...
by
Boleeman
[
Today
at 10:43:45 am]
[solved] macro for code ?
by
alpine
[
Today
at 09:00:25 am]
Old MoveJOH_PAS_3 move me...
by
Thaddy
[
Today
at 07:47:03 am]
Amoeba Animated: Another ...
by
Boleeman
[
Today
at 07:18:57 am]
Seeing CLOUDS: But outsid...
by
Boleeman
[
Today
at 05:25:31 am]
Colored Triangled Tunnel ...
by
Boleeman
[
Today
at 01:30:13 am]
Animated Spinning Cluster...
by
Boleeman
[
Today
at 01:05:40 am]
Does anyone have the idea...
by
WayneSherman
[
Today
at 12:58:19 am]
Uppercase in Keypress
by
Bart
[April 24, 2025, 10:32:13 pm]
Lazarus on Linux but Targ...
by
Sakkie
[April 24, 2025, 09:42:30 pm]
Package Use – Install ra...
by
paule32
[April 24, 2025, 09:15:29 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Is there a way to emphasize the active tab in a TPagecontrol? (Read 885 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: 2101
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: 2101
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: 248
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