Thank you
Erel.
Initially I tried "StartActivity" but ....
The solution is simple when someone tells you what to do
Add to Widget_4x1
Private Sub Label2_Click
StartActivity (Activity2)
End Sub
Public Sub SetLabel2 (text As String)
rv.SetText ("Label2", text)
rv.UpdateWidget
End Sub
Add a new Activity (with me "Activity2")
After clicking the Button (in "Activity2") we can change label2.
in the new Activity:
Private Sub Button1_Click
Dim t As String = EditText1.Text
CallSub2 (Widget_4x1, "SetLabel2", t)
Activity.Finish
End Sub
If someone needs, an example is in the attachment.
Click on Label2 (the second one is in Widget_4x1). Works in B4A.
ps. I have several dozen years of programming experience, but I am still learning B4X.