thughesimsuk Member Licensed User Longtime User Nov 1, 2012 #1 Seems like a simple one but I cant figure it out, I have a scrollview with pannels all I want to do is stop anyone being able to scroll? I have tried the following to no avail, Code: Copy ScrollView1.Panel.Enabled =False Code: Copy Dim r As Reflector r.Target = ScrollView1.Panel r.RunMethod ("setVerticalScrollBarEnabled",False, "java.lang.boolean")
Seems like a simple one but I cant figure it out, I have a scrollview with pannels all I want to do is stop anyone being able to scroll? I have tried the following to no avail, Code: Copy ScrollView1.Panel.Enabled =False Code: Copy Dim r As Reflector r.Target = ScrollView1.Panel r.RunMethod ("setVerticalScrollBarEnabled",False, "java.lang.boolean")
klaus Expert Licensed User Longtime User Nov 1, 2012 #2 I don't know if it's possible to disable the scrolling. As a workaround you could put a transparent Panel over the scrollview with an empty touch event consuming it. Why do you want to disable the scrolling? Best regards. Upvote 0
I don't know if it's possible to disable the scrolling. As a workaround you could put a transparent Panel over the scrollview with an empty touch event consuming it. Why do you want to disable the scrolling? Best regards.
thughesimsuk Member Licensed User Longtime User Nov 1, 2012 #3 I have a grid with a pop-up window, I just didn't want the users scrolling when the popup window is available. I have an imageview which covers the whole screen, How would I go about setting it as an empty touch event?? Thanks klaus said: I don't know if it's possible to disable the scrolling. As a workaround you could put a transparent Panel over the scrollview with an empty touch event consuming it. Why do you want to disable the scrolling? Best regards. Click to expand... Upvote 0
I have a grid with a pop-up window, I just didn't want the users scrolling when the popup window is available. I have an imageview which covers the whole screen, How would I go about setting it as an empty touch event?? Thanks klaus said: I don't know if it's possible to disable the scrolling. As a workaround you could put a transparent Panel over the scrollview with an empty touch event consuming it. Why do you want to disable the scrolling? Best regards. Click to expand...
klaus Expert Licensed User Longtime User Nov 1, 2012 #4 Use an empty Click event for the ImageView. Best regards. Upvote 0
thughesimsuk Member Licensed User Longtime User Nov 2, 2012 #5 Worked a treat, Thanks! Code: Copy ScreenDisable.Initialize("DisableScreen") Sub DisableScreen_Click 'Keep this blank to disable scroll! End Sub klaus said: Use an empty Click event for the ImageView. Best regards. Click to expand... Upvote 0
Worked a treat, Thanks! Code: Copy ScreenDisable.Initialize("DisableScreen") Sub DisableScreen_Click 'Keep this blank to disable scroll! End Sub klaus said: Use an empty Click event for the ImageView. Best regards. Click to expand...