so27 Active Member Licensed User Longtime User Aug 20, 2021 #1 Hallo zusammen, gibt es die Möglichkeit, im Code den InputType von einem B4XFloatTextField umzustellen? Ich brauche INPUT_TYPE_PHONE. Bisher habe ich das so gelöst: B4X: txtTelefon.edittext.InputType = txtTelefon.INPUT_TYPE_PHONE
Hallo zusammen, gibt es die Möglichkeit, im Code den InputType von einem B4XFloatTextField umzustellen? Ich brauche INPUT_TYPE_PHONE. Bisher habe ich das so gelöst: B4X: txtTelefon.edittext.InputType = txtTelefon.INPUT_TYPE_PHONE
DonManfred Expert Licensed User Longtime User Aug 20, 2021 #2 B4X: 'Dim bxf As B4XFloatTextField ' bxf is the FloatTextfield. ' Get the native view from it and work with the native one. Dim edtfield As EditText = bxf.TextField edtfield.InputType = edtfield.INPUT_TYPE_PHONE
B4X: 'Dim bxf As B4XFloatTextField ' bxf is the FloatTextfield. ' Get the native view from it and work with the native one. Dim edtfield As EditText = bxf.TextField edtfield.InputType = edtfield.INPUT_TYPE_PHONE
so27 Active Member Licensed User Longtime User Aug 20, 2021 #3 Vielen Dank @DonManfred , genau so funktioniert es jetzt. Super.