1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

iOS Question UIKeyboardTypeNumberPad help

Discussion in 'iOS Questions' started by rfresh, Jul 27, 2019.

  1. rfresh

    rfresh Well-Known Member Licensed User

    I'm trying to set my iPad keyboard type to show the number pad but I always see the standard iPad keyboard.

    Do I have to do something else?

    Thank you...

    Code:
    ' InputType:
        ' 0 = UIKeyboardTypeDefault
        ' 1 = UIKeyboardTypeASCIICapable
        ' 2 = UIKeyboardTypeNumbersAndPunctuation
        ' 3 = UIKeyboardTypeURL
        ' 4 = UIKeyboardTypeNumberPad
        ' 5 = UIKeyboardTypePhonePad
        ' 6 = UIKeyboardTypeNamePhonePad
        ' 7 = UIKeyboardTypeEmailAddress
        ' 8 = UIKeyboardTypeDecimalPad
        ' 9 = UIKeyboardTypeTwitter
        '10 = UIKeyboardTypeWebSearch
        '11 = UIKeyboardTypeAlphabet
        '12 = UIKeyboardTypeASCIICapable
        TextFieldBEWWeight.KeyboardType = 5
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Why aren't you setting the keyboard type with the designer?
     
  3. rfresh

    rfresh Well-Known Member Licensed User

    I didn't remember it was there. Thanks.
     
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