mohsen programmer
Member
Hello
I have defined several panels in the designer and have put edit text inside some of them.
Since the number of editing texts is very large, adding a large number of Sub, changing the focus and changing the text seems non-standard.
So, I plan to set the EventName of all of them the same and create only one sub and receive the text edits with the help of Sender.
But when the following code is executed, Null is printed or android.widget.Button{5c5198c VFED..C.. ...P..ID 118,1264-962,1411 #11}
I also use B4xPages.
I have defined several panels in the designer and have put edit text inside some of them.
Since the number of editing texts is very large, adding a large number of Sub, changing the focus and changing the text seems non-standard.
So, I plan to set the EventName of all of them the same and create only one sub and receive the text edits with the help of Sender.
But when the following code is executed, Null is printed or android.widget.Button{5c5198c VFED..C.. ...P..ID 118,1264-962,1411 #11}
B4X:
Private Sub MyEditText_FocusChanged (HasFocus As Boolean)
Log(Sender)
End Sub