You cannot declare activity objects in Process_Globals !
You cannot access activity objects directly from a code module !
You must declare the EditText in Globals.
And transfer the EditText view to the code module in the calling routine.
Main module:
Sub Globals
Dim txtFehlerspeicher As EditText
End Sub
.
.
.
Test.TextInsFeld(txtFehlerspeicher, "abc")
and in the code module Test:
Public Sub TextInsFeld(edt As EditText, was As String)
If was.Length =0 Then
edt.Text =""
Return
End If
edt.Text = CRLF & edt.Text & was
End Sub
Are you really want this :
edt.Text = CRLF & edt.Text & was
and not this :
edt.Text = edt.Text & CRLF & was
Best regards.