Recent

Author Topic: Sequence of tabsheets  (Read 3685 times)

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Sequence of tabsheets
« Reply #15 on: December 13, 2019, 01:57:57 pm »
It's all there and allready done:

Code: Pascal  [Select][+][-]
  1. procedure TForm1.FormCreate(Sender: TObject);
  2. begin
  3.  PageControl1.Options := PageControl1.Options + [nboShowCloseButtons];
  4. end;
  5.  

[... etc ...]

Yes, its there ... but it doesn't work on Windows. Thas's the problem.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

sash

  • Sr. Member
  • ****
  • Posts: 366
Re: Sequence of tabsheets
« Reply #16 on: December 13, 2019, 04:02:54 pm »
it doesn't work on Windows. Thas's the problem.

Yes, a couple of years ago I was unpleasantly surprised (being a linux-gtk user while most of my user audience were on windows) by this fact.
IIRC, QT doesn't support close button too.

After all I ended with my own tabbed-page-control based on EyeCandy Controls' tabs.
« Last Edit: December 13, 2019, 04:06:36 pm by sash »
Lazarus 2.0.10 FPC 3.2.0 x86_64-linux-gtk2 @ Ubuntu 20.04 XFCE

zeljko

  • Hero Member
  • *****
  • Posts: 1591
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Sequence of tabsheets
« Reply #17 on: December 13, 2019, 04:48:11 pm »

Yes, a couple of years ago I was unpleasantly surprised (being a linux-gtk user while most of my user audience were on windows) by this fact.
IIRC, QT doesn't support close button too.

After all I ended with my own tabbed-page-control based on EyeCandy Controls' tabs.

Actually, Qt and Qt5 supports close buttons on tabs on all supported platforms by Qt/Qt5.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: Sequence of tabsheets
« Reply #18 on: December 13, 2019, 07:18:45 pm »
it doesn't work on Windows. Thas's the problem.
Yes, a couple of years ago I was unpleasantly surprised (being a linux-gtk user while most of my user audience were on windows) by this fact.
IIRC, QT doesn't support close button too.
After all I ended with my own tabbed-page-control based on EyeCandy Controls' tabs.
Is Eye Candy Controls still actively maintained?
Does Eye Candy Controls TECTabCtrl work on Microsoft Windows?
Why have you created your own tabbed-page-control instead of using standard Eye Candy Controls TECTabCtrl?

https://wiki.freepascal.org/Eye-Candy_Controls#TECTabCtrl
https://wiki.freepascal.org/TECTabCtrl
https://sourceforge.net/projects/eccontrols/
https://github.com/cutec-chris/Eye-Candy_Controls

sash

  • Sr. Member
  • ****
  • Posts: 366
Re: Sequence of tabsheets
« Reply #19 on: December 13, 2019, 09:43:50 pm »
Actually, Qt and Qt5 supports close buttons on tabs on all supported platforms by Qt/Qt5.

Maybe, I don't remember well. But I went by non-qt way, because it means no external (runtime) dependencies. Which was essential to my app, as being remotely developed on linux (and crossbuilt to win), it was hard for me to perform onsite maintenance.

@valdir.marcos
> Does Eye Candy Controls TECTabCtrl work on Microsoft Windows?

Yes. It should work anywhere, as it seems of owner-drawn kind.

> Why have you created your own tabbed-page-control instead of using standard Eye Candy Controls TECTabCtrl?

TECTabCtrl is a tabs-only control, without container for pages, like TTabControl, not TPageControl.
Lazarus 2.0.10 FPC 3.2.0 x86_64-linux-gtk2 @ Ubuntu 20.04 XFCE

sash

  • Sr. Member
  • ****
  • Posts: 366
Re: Sequence of tabsheets
« Reply #20 on: December 13, 2019, 10:04:25 pm »
Is Eye Candy Controls still actively maintained?
Don't know. To me, it's relatively stable (currently I use tabs only).
Initially, there was a bug, I contacted author (Blaazen), thanks to him, he fixed it in a few days, so it works for me.
Lazarus 2.0.10 FPC 3.2.0 x86_64-linux-gtk2 @ Ubuntu 20.04 XFCE

 

TinyPortal © 2005-2018