Android Question Command to drop the popup keyboard?

Discussion in 'Android Questions' started by nypaulie, Jan 27, 2015.

  1. nypaulie

    nypaulie Active Member Licensed User

    Is there a command or code snippet to drop the keyboard once you've entered your text into a field? Is using the tablet's backup key the only way to do this?
     
  2. edm68

    edm68 Member Licensed User

    If you're using the IME library I think it is:
    Code:
    IME.HideKeyboard
     
  3. Troberg

    Troberg Well-Known Member Licensed User

    A related issue: Is there any way to stop the keyboard from appearing when displaying a file dialog?

    I want the user to browse for a dir, but half the screen is used by the keyboard which is not even needed.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    @Informatix has created an alternative non-modal file dialog class. Try to use it instead.
     
    lemonisdead and Troberg like this.
  5. Troberg

    Troberg Well-Known Member Licensed User

    Amazing, will do!
     
  6. nypaulie

    nypaulie Active Member Licensed User

    I was able to get this afloat. I added this line to the "Sub Globals":
    Private IME1 As IME : IME1.Initialize ("IME1")
    Then I added a button labelled "- Hide The KeyBoard"
    Which just had this line:
    IME1.HideKeyboard

    Here's a screenshot of the new baby and thanks for your help.
     

    Attached Files:

    Last edited: Jan 29, 2015
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