Recent

Author Topic: Close buttons on TPageControl's tabs  (Read 230 times)

SaraT

  • Full Member
  • ***
  • Posts: 131
  • A little student
Close buttons on TPageControl's tabs
« on: October 07, 2024, 11:02:26 pm »
Hi, I see the opcions "nboShowCloseButtons" and "nboShowAddTabButton" on
TPageControl's tabs but it does not work if they are checked.

I searched on the forum and nothing seems to work on Windows :/
In the attached png you can see the close button works only on Ubuntu.

Does anyone have a working code to get it to work, or any other solution?
Is this a big bug? Thanks in advance.

- Lazarus v.3.4.
- Windows 10 latest update

jamie

  • Hero Member
  • *****
  • Posts: 6733
Re: Close buttons on TPageControl's tabs
« Reply #1 on: October 08, 2024, 12:09:44 am »
Its not in the widget.

if you look at the comment at the bottom of the OI when highlighting one of those options you will see it makes a comment about
widget support.

 Not saying that it can't be done, because it can of course, but a windows solution would be totally windows.
The only true wisdom is knowing you know nothing

dseligo

  • Hero Member
  • *****
  • Posts: 1406
Re: Close buttons on TPageControl's tabs
« Reply #2 on: October 08, 2024, 01:32:06 am »
or any other solution?

You could use alternative tab control, such as https://wiki.freepascal.org/ATTabs, it is OS independent.

 

TinyPortal © 2005-2018