How unset focus edittext

Theera

Well-Known Member
Licensed User
Longtime User
I remember,when I programming with VB6.0 ,It use textbox.setfocus=False
I don't B4A using with function? I tried use textbox.requestfocus=false
:BangHead:
 

Theera

Well-Known Member
Licensed User
Longtime User
Where is the Reflection library?

You can do it with the Reflection library:
B4X:
Dim obj1 As Reflector
obj1.Target = EditText1
obj1.RunMethod2("setFocusable", "False", "java.lang.boolean")
Best regards.

Please help me How I add the Reflection library ,I see Libs Tab.I don't know which libs to select?:sign0013:
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
You need to download the Reflection library and add the two files Reflection .jar and Reflection.xml to your additioal libraries folder.
Then when you start B4A you'll see the Reflection library in the Lib Tab and you should check it.

Best regards.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Can I add a lot of Libs in my project?

Thank for kind of you,Klaus I already have successed to do. Now I need to know that can I add a lot of Libs ? and each of Libs for doing?
 
Upvote 0
Top