Rusty Well-Known Member Licensed User Longtime User Jun 21, 2011 #1 I have an android phone that automatically capitalizes new contact names etc. I can't seem to find a keyboard setting that will do the same with b4a. Is there a way to have the keyboard type the first letter of a name (for example) as capital and then the subsequent ones as lower case? thanks,
I have an android phone that automatically capitalizes new contact names etc. I can't seem to find a keyboard setting that will do the same with b4a. Is there a way to have the keyboard type the first letter of a name (for example) as capital and then the subsequent ones as lower case? thanks,
G gobblegob Member Licensed User Longtime User Jun 21, 2011 #2 Hi rusty, have a look at documentation under "core" and search for "Replace" and "ToUpperCase" sorry I don't have a computer in front of me. cheers Waz Upvote 0
Hi rusty, have a look at documentation under "core" and search for "Replace" and "ToUpperCase" sorry I don't have a computer in front of me. cheers Waz
Erel B4X founder Staff member Licensed User Longtime User Jun 21, 2011 #3 This can be done by setting InputType property. The constant is available so you will need to write the actual value: Code: Copy EditText1.InputType = Bit.Or(EditText1.INPUT_TYPE_TEXT, 8192) You can find the constant value here: InputType | Android Developers Upvote 0
This can be done by setting InputType property. The constant is available so you will need to write the actual value: Code: Copy EditText1.InputType = Bit.Or(EditText1.INPUT_TYPE_TEXT, 8192) You can find the constant value here: InputType | Android Developers