tznikos Member Licensed User Longtime User Sep 14, 2013 #1 Hi, When i open the keyboard on edittext control, i want set the caps-lock to capital letters, how do that programmatically. Thanks
Hi, When i open the keyboard on edittext control, i want set the caps-lock to capital letters, how do that programmatically. Thanks
NJDude Expert Licensed User Longtime User Sep 14, 2013 #2 You have to use Input_Type_Text e.g. B4X: EditText1.InputType = Bit.OR(EditText1.INPUT_TYPE_TEXT, 4096) Upvote 0
You have to use Input_Type_Text e.g. B4X: EditText1.InputType = Bit.OR(EditText1.INPUT_TYPE_TEXT, 4096)
M meesterturner Member Licensed User Longtime User May 30, 2014 #3 Hi, I just wanted to do the same thing, but capitalise the first letter of the whole input box. If found the following page which describes a bunch of flags. Changing the 4096 above to one of the others will change the effect http://developer.android.com/reference/android/text/InputType.html I just used 16384 to do what I wanted. Upvote 0
Hi, I just wanted to do the same thing, but capitalise the first letter of the whole input box. If found the following page which describes a bunch of flags. Changing the 4096 above to one of the others will change the effect http://developer.android.com/reference/android/text/InputType.html I just used 16384 to do what I wanted.