How to use Scrollview.Enabled?

edgeryder1000

Member
Licensed User
Longtime User
I had assumed that Scrollview.Enabled would be used to toggle whether the scrollview scrolls or not, but I haven't noticed it doing anything :( Am I doing something wrong?

B4X:
Sub Process_Globals
   
End Sub

Sub Globals
   Dim Scroll As ScrollView
End Sub

Sub Activity_Create(FirstTime As Boolean)
   Activity.Color = Colors.RGB(229, 229, 229)
   Scroll.Initialize(1000dip)
   Activity.AddView(Scroll, 0, 0, 100%x, 100%y)
   Scroll.Enabled = False
End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

The scrollview is still active.

I searched and found another thread on this, sorry
BUT the question wasn't answered
 
Last edited:
Top