S stevenindon Active Member Licensed User Dec 19, 2021 #1 May i knw how can i set INPUT_TYPE_NUMBERS for TextField in B4i programmatically? Example : B4X: Dim sName As TextField sName.Initialize("sName") sName.???=sName.TYPE_EMAIL_ADDRESS <<---- cant find my way through.. Thanks
May i knw how can i set INPUT_TYPE_NUMBERS for TextField in B4i programmatically? Example : B4X: Dim sName As TextField sName.Initialize("sName") sName.???=sName.TYPE_EMAIL_ADDRESS <<---- cant find my way through.. Thanks
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2021 #2 B4X: tf.KeyboardType = tf.TYPE_EMAIL_ADDRESS Best to set it with the designer. Upvote 0
S stevenindon Active Member Licensed User Dec 19, 2021 #3 Thank you Erel. I guess the best practice is to right click on a textfield in the designer... and look at the properties there. Somehow will be able to figure out from the properties tree. Thanks! You are the best Upvote 0
Thank you Erel. I guess the best practice is to right click on a textfield in the designer... and look at the properties there. Somehow will be able to figure out from the properties tree. Thanks! You are the best