problem with numeric only keyboard at compile time

pacoMx

Member
Licensed User
Longtime User
Hello, I'm trying to use an editText with nuneric only keyboard. The thing is that I get the following:

B4X:
Compiling code.                         Error
Error compiling program.
Error description: Unknown member: inputtype
Occurred on line: 21
 EditText1.InputType = EditText1.INPUT_TYPE_NUMBERS
Word: inputtype

Is there any additional library tha I must load?

*******************
Sorry, just found that I must declare variable as edittext.

Thanks.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…