Y ykucuk Well-Known Member Licensed User Longtime User Sep 24, 2013 #1 Hello, is there way hide scrollbar on Scrollview? thank you
Y ykucuk Well-Known Member Licensed User Longtime User Sep 24, 2013 #3 hello NJDude, i dont want disable scrolling. i just want hide scrollbar( bar with button up and down). i need users scroll to view Upvote 0
hello NJDude, i dont want disable scrolling. i just want hide scrollbar( bar with button up and down). i need users scroll to view
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2013 #4 Which buttons? There is only a thin indicator that appears when the user scrolls the view. Upvote 0
Y ykucuk Well-Known Member Licensed User Longtime User Sep 24, 2013 #5 yes i want to hide thin indicator . sorry for my english Upvote 0
klaus Expert Licensed User Longtime User Sep 24, 2013 #6 This code does it: Code: Copy Dim r As Reflector r.Target = ScrollView1.Panel r.RunMethod ("setVerticalScrollBarEnabled",False, "java.lang.boolean") It's the code from NJDude's link ! Best regards. Upvote 0
This code does it: Code: Copy Dim r As Reflector r.Target = ScrollView1.Panel r.RunMethod ("setVerticalScrollBarEnabled",False, "java.lang.boolean") It's the code from NJDude's link ! Best regards.
GiovanniPolese Well-Known Member Licensed User Longtime User Jul 7, 2014 #7 Hi, Klaus. I had this problem and brutally copied the code, but it doesn't compile. There are several "RunMethod?" in reflector, but I didn't see any one using such parameters. What am I missing? Thanks in advance.. (In the meanwhile I will check again, so if the method exists and I just missed to see it, forget this question..) Upvote 0
Hi, Klaus. I had this problem and brutally copied the code, but it doesn't compile. There are several "RunMethod?" in reflector, but I didn't see any one using such parameters. What am I missing? Thanks in advance.. (In the meanwhile I will check again, so if the method exists and I just missed to see it, forget this question..)
klaus Expert Licensed User Longtime User Jul 7, 2014 #8 Sorry, my mistake, I simply copied the code from the oter post which is wrong. Two errors in three lines . It must be either with the Reflection library Code: Copy Dim r As Reflector r.Target = ScrollView1 r.RunMethod 2("setVerticalScrollBarEnabled",False, "java.lang.boolean") or with the JavaObject library. Code: Copy Dim jo = ScrollView1 As JavaObject jo.RunMethod("setVerticalScrollBarEnabled", Array As Object(False)) Upvote 0
Sorry, my mistake, I simply copied the code from the oter post which is wrong. Two errors in three lines . It must be either with the Reflection library Code: Copy Dim r As Reflector r.Target = ScrollView1 r.RunMethod 2("setVerticalScrollBarEnabled",False, "java.lang.boolean") or with the JavaObject library. Code: Copy Dim jo = ScrollView1 As JavaObject jo.RunMethod("setVerticalScrollBarEnabled", Array As Object(False))