Android Question Why does the keyboard popup on file load?

Discussion in 'Android Questions' started by davepamn, Jul 1, 2015.

  1. davepamn

    davepamn Active Member Licensed User

    Code:
    Dim oFileDialog As FileDialog

        
    Dim sFileName As String=""

        
    If oFileDialog.Show("Select an AG Research CSV","Select","","Close",Null)=-1 Then

            sFileName=oFileDialog.ChosenName

            
    If sFileName<>"" Then

                LoadData(sFileName)

            
    Else

                
    Msgbox("Error loading data""No File was selected")

                HideKeyboard

            
    End If
        
    End If
    [code]
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The keyboard is opened when the EditText becomes focused. You will not be able to hide it in your code.
     
    lemonisdead likes this.
Loading...