Welcome, Guest
Username: Password: Remember me
CodeTyphon Android Development, LAMW, etc, discussions and problems
  • Page:
  • 1

TOPIC:

Switch between Form (AndroidModuleX) 7 months 2 weeks ago #18435

  • choki
  • choki's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 0
1. AndroidModule1
2. AndroidModule2

how to switch between 2 form, 
from form1 to form 2, switch with no problem with this code
procedure TAndroidModule1.Button1Click(Sender: TObject);
begin
  if AndroidModule2 = nil then
     begin
       gApp.CreateForm(TAndroidModule2, AndroidModule2);
       AndroidModule2.InitShowing();
     end
     else
     begin
       AndroidModule2.Show();
       AndroidModule2.ReInitShowing();
     end;
end;  

But how to switch back to AndroidModule1??

Please Log in or Create an account to join the conversation.

  • Page:
  • 1