padvou Active Member Licensed User Longtime User May 26, 2014 #1 I get the following error: java.lang.Exception: Sub edt_custselect_click signature does not match expected signature. Why is that?
I get the following error: java.lang.Exception: Sub edt_custselect_click signature does not match expected signature. Why is that?
Erel B4X founder Staff member Licensed User Longtime User May 26, 2014 #2 How did you declare this sub? Upvote 0
padvou Active Member Licensed User Longtime User May 26, 2014 #3 B4X: Sub edt_custselect_Click edt_custselect.Text="" edt_custselect.Width=Activity.Width End Sub I had an error in sub declaration, using the above code fixed the signature error. However, I need to click the control twice for the code to fire.. Upvote 0
B4X: Sub edt_custselect_Click edt_custselect.Text="" edt_custselect.Width=Activity.Width End Sub I had an error in sub declaration, using the above code fixed the signature error. However, I need to click the control twice for the code to fire..
Erel B4X founder Staff member Licensed User Longtime User May 26, 2014 #4 You should normally not handle the click event of EditText. Instead use EditText_FocusChanged. Make sure to see the IDE tips tutorial to see how events autocomplete works: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6546-ide-tips.html Upvote 0
You should normally not handle the click event of EditText. Instead use EditText_FocusChanged. Make sure to see the IDE tips tutorial to see how events autocomplete works: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6546-ide-tips.html