Recent

Author Topic: adding TTabSheet to TPageControl at design time on macOS  (Read 219 times)

inferno

  • New Member
  • *
  • Posts: 13
adding TTabSheet to TPageControl at design time on macOS
« on: December 07, 2019, 07:01:07 pm »
Hi all,
Adding TTabSheet tabs to TPageControl at design time on macOS doesn't work. I can't display context menu like on Windows. Any way to do this? Adding tabs at run time works well.

Best regards,
Inferno

trev

  • Sr. Member
  • ****
  • Posts: 350
  • Former Delphi 7 and Delphi 10.2 User
Re: adding TTabSheet to TPageControl at design time on macOS
« Reply #1 on: December 08, 2019, 02:30:33 am »
This works for me - I have several TTabSheets for the TPageControl added at design time. More information needed:

* What version of FPC?
* What version of Lazarus?
* What version of macOS?
o Lazarus v2.1.0 r62452, FPC v3.3.1 r42644, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

inferno

  • New Member
  • *
  • Posts: 13
Re: adding TTabSheet to TPageControl at design time on macOS
« Reply #2 on: January 02, 2020, 09:24:29 pm »
Hi Trev,
Thank you for your reply. Finally I found that adding tab sheets is possible only in Object Inspector in my case. But this is enough to get it working :)

Best regards,
Robert