MarcoRome Expert Licensed User Longtime User Aug 25, 2017 #1 Hi All. Is possible use with FloadLabel the Custom filters ? Example: To set up so that you can type an ip address in Edit3 we write: IME.SetCustomFilter(EditText3, EditText3.INPUT_TYPE_NUMBERS, "0123456789.") in FloatLabel ? Thank you Marco
Hi All. Is possible use with FloadLabel the Custom filters ? Example: To set up so that you can type an ip address in Edit3 we write: IME.SetCustomFilter(EditText3, EditText3.INPUT_TYPE_NUMBERS, "0123456789.") in FloatLabel ? Thank you Marco
Computersmith64 Well-Known Member Licensed User Longtime User Aug 26, 2017 #2 MarcoRome said: Hi All. Is possible use with FloadLabel the Custom filters ? Example: To set up so that you can type an ip address in Edit3 we write: IME.SetCustomFilter(EditText3, EditText3.INPUT_TYPE_NUMBERS, "0123456789.") in FloatLabel ? Thank you Marco Click to expand... Yes - try: Code: Copy Private fl as FloatLabeledEditText IME.SetCustomFilter(fl.EditText, fl.EditText.INPUT_TYPE_TEXT, "0123456789.") This is exactly what I do in one of my apps. - Colin. Upvote 0
MarcoRome said: Hi All. Is possible use with FloadLabel the Custom filters ? Example: To set up so that you can type an ip address in Edit3 we write: IME.SetCustomFilter(EditText3, EditText3.INPUT_TYPE_NUMBERS, "0123456789.") in FloatLabel ? Thank you Marco Click to expand... Yes - try: Code: Copy Private fl as FloatLabeledEditText IME.SetCustomFilter(fl.EditText, fl.EditText.INPUT_TYPE_TEXT, "0123456789.") This is exactly what I do in one of my apps. - Colin.
MarcoRome Expert Licensed User Longtime User Aug 26, 2017 #3 Hi Colin. Thank you for your suggestion. But instead of INPUT_TYPE_TEXT if we just want to see numbers just put INPUT_TYPE_NUMBERS. So is right IME.SetCustomFilter(fle_ipserver.EditText, fle_ipserver.EditText.INPUT_TYPE_NUMBERS, "0123456789.") Click to expand... Thank you again and have nice day Upvote 0
Hi Colin. Thank you for your suggestion. But instead of INPUT_TYPE_TEXT if we just want to see numbers just put INPUT_TYPE_NUMBERS. So is right IME.SetCustomFilter(fle_ipserver.EditText, fle_ipserver.EditText.INPUT_TYPE_NUMBERS, "0123456789.") Click to expand... Thank you again and have nice day
Computersmith64 Well-Known Member Licensed User Longtime User Aug 26, 2017 #4 MarcoRome said: Hi Colin. Thank you for your suggestion. But instead of INPUT_TYPE_TEXT if we just want to see numbers just put INPUT_TYPE_NUMBERS. So is right Thank you again and have nice day Click to expand... Yeah - correct. Typo on my part! - Colin. Upvote 0
MarcoRome said: Hi Colin. Thank you for your suggestion. But instead of INPUT_TYPE_TEXT if we just want to see numbers just put INPUT_TYPE_NUMBERS. So is right Thank you again and have nice day Click to expand... Yeah - correct. Typo on my part! - Colin.