Hi,
I have in a B4xPage class a button with CallSub2 Method
the page will closed and Page Generalsettings will open but CallSub in Generalsettings has no reaction.
I get no error code and no warning
I have in a B4xPage class a button with CallSub2 Method
B4X:
Private Sub btn_continue_Click
StopCamera
Log(Variablen.GeleseneText)
'
CallSub2(GeneralSettings,"QRcodeTextLesen",Variablen.GeleseneText)
B4XPages.ClosePage(Me)
StartActivity(GeneralSettings)
End Sub
the page will closed and Page Generalsettings will open but CallSub in Generalsettings has no reaction.
B4X:
Sub QRcodeTextLesen(msg as String)
Log("Aufgerufen")
Dim Trenner() As String
Trenner = Regex.Split("\|",msg )
txtVorname.text = Trenner(0)
txtNachname.Text = Trenner(1)
txtemail.Text = Trenner(2)
txtPW_Login.Text = Trenner(3)
End Sub
I get no error code and no warning