Reproduce method A
1) Create a form with a TPageControl with 5 pages (and thus also tabs). Have each page contain a unique control you can recognize.
2) Add a button at top of form - when clicking it, it should set the 3'rd page tabsheet TabVisible:=False
3) Now all controls appear gone from the last two tabs.
Reproduce method B
1) Create a form with a TPageControl with 5 pages (and thus also tabs). Have each page contain a unique control you can recognize.
2) In the form designer set the 3'rd page tabsheet TabVisible:=False
3) Now all controls appear gone from the last two tabs. (But only when running the program. The form designer does not exhibit the problem)
Reproduce method C
1) At runtime set all TTabSheet in a TPageControl to *TabVisible := False*. At runtime all content appear gone even if MyExamplePageControl.ActivePageIndex > -1