Olaan Expert Licensed User Longtime User Feb 13, 2012 #1 Hi Klaus, After I use this below:- Dim obj1 As Reflector obj1.Target = EditText1 obj1.RunMethod2("setFocusable", "False", "java.lang.boolean") I need access EditText1 again,I tried to add this code in procedure EditText1_Focus(HasFocus as Boolean) :- Dim obj1 As Reflector obj1.Target = EditText1 obj1.RunMethod2("setFocusable", "True", "java.lang.boolean") I can't Access ??
Hi Klaus, After I use this below:- Dim obj1 As Reflector obj1.Target = EditText1 obj1.RunMethod2("setFocusable", "False", "java.lang.boolean") I need access EditText1 again,I tried to add this code in procedure EditText1_Focus(HasFocus as Boolean) :- Dim obj1 As Reflector obj1.Target = EditText1 obj1.RunMethod2("setFocusable", "True", "java.lang.boolean") I can't Access ??
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2012 #2 Why do you need to change this property? You can change InputType if you don't want the keyboard to appear. Upvote 0
Why do you need to change this property? You can change InputType if you don't want the keyboard to appear.
Olaan Expert Licensed User Longtime User Feb 13, 2012 #3 Reason for me Erel said: Why do you need to change this property? You can change InputType if you don't want the keyboard to appear. Click to expand... I have the panel contain 2 EditTexts (EditText1 and EditText2) and 1 Button that as for clear all of EditTexts when the users want to re-input data. Klaus hints me the reflection lib. It' well done,but when I need re-input,it denies?? :BangHead: Best Regards Theera Upvote 0
Reason for me Erel said: Why do you need to change this property? You can change InputType if you don't want the keyboard to appear. Click to expand... I have the panel contain 2 EditTexts (EditText1 and EditText2) and 1 Button that as for clear all of EditTexts when the users want to re-input data. Klaus hints me the reflection lib. It' well done,but when I need re-input,it denies?? :BangHead: Best Regards Theera
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2012 #4 I don't think that changing the focus is the best solution. There is a new IME library that allows you to hide or show the keyboard. Maybe it will help you. Upvote 0
I don't think that changing the focus is the best solution. There is a new IME library that allows you to hide or show the keyboard. Maybe it will help you.