TPageControl show no pages on MacOS

Issue #215 resolved
Harry Stahl created an issue

Very strange: When I compile my program and it is transfered via delphi to the mac and it is automaticly started, then the TPageControl shows the TTabsheets as as expected. But when I start the Program from the OS by hand, then all TPageControls does not show the content of the tab. Only when I click on the Tab, then the content will be shown.

See attached a screenshot. Delphi 10.3.3, MacOS 10.14.3. On MacOS 10.15 the Content of the tabs is displayed directly.

On Linux all works fine.

[edit: Changing the tabs was my problem; but missing displayed Content of the Tabs still open]

Comments (4)

  1. Benjamin Yang

    Me too!
    I am use Delphi 10.4.1, macOS Catalina 10.15.7

    I append sample code!

    procedure TForm3.FormShow(Sender: TObject);
    begin
      PageControl1.ActivePage:= TabSheet1;
      showMessage('PageControl1.ActivePageIndex = ' + inttostr(PageControl1.ActivePageIndex));
    end;
    

  2. Log in to comment