tunderin Member Licensed User Longtime User Oct 3, 2012 #1 I'm doing a preferenceActivity screen in which I'm adding editTexts as in the code below. I can't find anything in the forum or docs about how to refer to the added editText in order to set the inputType Can anybody tell me what view name to use in place of "what?" in the code below? Thanks in advance... Code: Sub CreatePreferenceScreen screen.Initialize("something", "") Dim var As AHPreferenceCategory var.AddEditText("ID","User initials ","prefix for receipt numbers","MK","" ) what?.InputType = what?.INPUT_TYPE_PHONE End Sub
I'm doing a preferenceActivity screen in which I'm adding editTexts as in the code below. I can't find anything in the forum or docs about how to refer to the added editText in order to set the inputType Can anybody tell me what view name to use in place of "what?" in the code below? Thanks in advance... Code: Sub CreatePreferenceScreen screen.Initialize("something", "") Dim var As AHPreferenceCategory var.AddEditText("ID","User initials ","prefix for receipt numbers","MK","" ) what?.InputType = what?.INPUT_TYPE_PHONE End Sub
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2012 #2 You cannot set the input type. Maybe with AHPreferenceActivity lib. Upvote 0