Jump to content

Mowafaq

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by Mowafaq


  1. Hello everyone,

     

    I am having trouble showing a secondary form from the main form OnShow event for (only) the Android platform. The Show call does nothing at all except for a short delay. The main form stays active and functions correctly.

     

    The program runs nicely on Windows.

     

    This second form is StayOnTop and position=Designed with the same size as the main form.

     

    Thanks in advance for any help I can get.

     

    procedure TMainForm.FormShow(Sender: TObject);
    begin
        SetScreensLang;
        if MustSignIn then begin
            TabControl1.ActiveTab := PersonalTabItem;
            SignForm.Show;
            end
        else begin
            CheckAlerts;
            TabControl1.ActiveTab := AlertsTabItem;
            AlertsTabItemClick(nil);
        end;
    end;
     

×