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...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice