Recent

Author Topic: [SOLVED] PageControl1.ActivePage.Font.Style not working  (Read 213 times)

petevick

  • Sr. Member
  • ****
  • Posts: 421
[SOLVED] PageControl1.ActivePage.Font.Style not working
« on: January 10, 2026, 12:09:44 pm »
In Linux I use PageControl1.ActivePage.Font.Style := [fsBold]; or PageControl1.Pages[1].Font.Style := [fsBold]; to change the font style of an individual TTabSheet title. In Windows 10 neither works, I can change every TTabSheet title font style in the PageControl by using PageControl1.Font.Style := [fsBold]; so it's not that Windows can't display a bold font style.
Is this some kind of weird limitation of Windows ??
« Last Edit: January 10, 2026, 05:40:47 pm by petevick »
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Windows 10, Lazarus 3.2, FPC 3.2.2

petevick

  • Sr. Member
  • ****
  • Posts: 421
Re: PageControl1.ActivePage.Font.Style not working
« Reply #1 on: January 10, 2026, 05:27:56 pm »
Answering my own question. It is a limitation of Windows
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Windows 10, Lazarus 3.2, FPC 3.2.2

Bart

  • Hero Member
  • *****
  • Posts: 5667
    • Bart en Mariska's Webstek
Re: PageControl1.ActivePage.Font.Style not working
« Reply #2 on: January 10, 2026, 05:38:38 pm »
Can you edit your first post to start the subject line with [Solved] (or [Not solvable]) to indicate the question is no longer active?

Bart

 

TinyPortal © 2005-2018