Zizi
Member
hi, I am trying to pass input data (using editText) from main activity and diplay them to a new actity called actDetails.
this a sample of my code:
Main:
Sub Process_Globals
Public currentStage As String
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
currentStage = stage.Text
End Sub
"------------------------------------------------
2nd Activity actDetails
Sub Globals
Private lblstgDetail As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("actDetails")
lblstgDetail.Text = Main.currentStage
End Sub
When i run it the lable to display the lblstgDetails it returns a blank value. Any idea why this is happening?
this a sample of my code:
Main:
Sub Process_Globals
Public currentStage As String
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
currentStage = stage.Text
End Sub
"------------------------------------------------
2nd Activity actDetails
Sub Globals
Private lblstgDetail As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("actDetails")
lblstgDetail.Text = Main.currentStage
End Sub
When i run it the lable to display the lblstgDetails it returns a blank value. Any idea why this is happening?