EditText event question

pamoxi

Member
Licensed User
Longtime User
I have the next code:

B4X:
Sub Globals
Dim sch As EditText
Dim pad As Panel
End Sub

Sub Activity_Create(FirstTime As Boolean)
sch.InputType = sch.INPUT_TYPE_NONE
End Sub

Sub sch_click
pad.Visible = True
End Sub

The panel is not visible at start, and is a custom keyboard.
I have to touch twice in the sch EditText to show the panel.

How i make to show the panel with one touch in the EditText?
 

pamoxi

Member
Licensed User
Longtime User
Obviously have a click event, because the code works, but not like I wanted.
I solved the problem with the FocusChanged event.
thanks
 
Upvote 0
Top