Hi All,
I have an activity with several EditTexts, I have a sub that is actioned whenever the Enterpressed event occurs on any of the EditTexts.
Instead of writing a Sub to handle each editText is there a way to detect Enterpressed on any EditText.
Regards Roger
IE:
I have an activity with several EditTexts, I have a sub that is actioned whenever the Enterpressed event occurs on any of the EditTexts.
Instead of writing a Sub to handle each editText is there a way to detect Enterpressed on any EditText.
Regards Roger
IE:
B4X:
'Instead of:
Sub Edt1_EnterPressed
Action
End Sub
Sub Edt2_EnterPressed
Action
End Sub
Sub Edt3_EnterPressed
Action
End Sub
Etc. Etc. Etc......
'could possibly be:
Sub AnyOldEdt_EnterPressed
Action
End Sub
Last edited: