imgsimonebiliato Well-Known Member Licensed User Longtime User Jun 13, 2012 #1 How can I open a module, with a click on an EditText? :sign0085: Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2012 #2 You can catch EditText_Click event, although it is not listed. However the user may find it a bit strange. You may want to use a button or at least a label. Upvote 0
You can catch EditText_Click event, although it is not listed. However the user may find it a bit strange. You may want to use a button or at least a label.
imgsimonebiliato Well-Known Member Licensed User Longtime User Jun 13, 2012 #3 Erel said: You can catch EditText_Click event, although it is not listed. However the user may find it a bit strange. You may want to use a button or at least a label. Click to expand... Hi Erel, but if I want to use an EditText, I set up the event on click, but I have to do this twice, and I want that when I click, I open the module immediately. Upvote 0
Erel said: You can catch EditText_Click event, although it is not listed. However the user may find it a bit strange. You may want to use a button or at least a label. Click to expand... Hi Erel, but if I want to use an EditText, I set up the event on click, but I have to do this twice, and I want that when I click, I open the module immediately.
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2012 #4 You should not use an EditText for that. EditText handles the first click internally. Upvote 0
imgsimonebiliato Well-Known Member Licensed User Longtime User Jun 13, 2012 #5 Erel said: You should not use an EditText for that. EditText handles the first click internally. Click to expand... Thanks!!:sign0060: Upvote 0
Erel said: You should not use an EditText for that. EditText handles the first click internally. Click to expand... Thanks!!:sign0060:
JoanRPM Active Member Licensed User Longtime User Jun 13, 2012 #6 You can use "FocusChanged". I use it in combination with "Click". Be something like: Code: ... dim edt1 as EditText edt1.Initialize("edt1") ... Sub edt1_FocusChanged (HasFocus As Boolean) 'if focus change If HasFocus = True Then ... End If End Sub Sub edt1_Click 'if you are in the focus ... End Sub Regards. Upvote 0
You can use "FocusChanged". I use it in combination with "Click". Be something like: Code: ... dim edt1 as EditText edt1.Initialize("edt1") ... Sub edt1_FocusChanged (HasFocus As Boolean) 'if focus change If HasFocus = True Then ... End If End Sub Sub edt1_Click 'if you are in the focus ... End Sub Regards.