I am trying to hide the keyboard using a browse button in dialog, the problem is that the keyboard is not hidden, there is another way to do this.
B4X:
Sub BtnBuscarCod_Click
If EdBuscaCodigo.Text.Length > 0 And EdBuscaCodigo.Text.Length <= 3 Then
Dim CloseKey As IME
CloseKey.Initialize("")
CloseKey.HideKeyboard
ToastMessageShow("Buscando código.", False)
Else
ToastMessageShow("Debe ingresar un numero mayor que 0 y menor o igual a 3.", False)
End If
End Sub