Android Question forms

billybean

Member
Licensed User
i have two forms,i want to transfer textbox.text on form 1 to a textbox.text on form 2.
how do i address it
 

Dman

Active Member
Licensed User
Longtime User
B4X:
--------------------------------------------------------------------
Form1
--------------------------------------------------------------------
Process Globals
    Dim temp as string


Sub btnOpenForm2_Click
      temp = edittext1.text
      Activity.Finish
      Startactivity("Form2")
End Sub
-------------------------------------------------------------------
Form2
-------------------------------------------------------------------
Sub Activity_Create(FirstTime As Boolean)

      Activity.LoadLayout("2")
      Edittext1.text = Form1.temp

End sub
 
Upvote 0
Top