Recent

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

inferno

  • New Member
  • *
  • Posts: 28
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

  • Hero Member
  • *****
  • Posts: 823
  • Former Delphi 1-7 and 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 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

inferno

  • New Member
  • *
  • Posts: 28
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

 

TinyPortal © 2005-2018