How to access edittext again?

Theera

Well-Known Member
Licensed User
Longtime User
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 ??:eek:
 

Theera

Well-Known Member
Licensed User
Longtime User
Reason for me

Why do you need to change this property?

You can change InputType if you don't want the keyboard to appear.

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
Top