disable scrollview

rainersnookh

Member
Licensed User
Longtime User
Hello, I want to disable both scroll and clicks on the elements in the scrollview but scrollview.enabled = false or scrollview.panel.enabled = false doesn't work.

Is this to be expected or am I doing this wrong?

Thanks in advance.
 

rainersnookh

Member
Licensed User
Longtime User
Well, I don't want to hide it, I just want to disable it..

Had to hack it pretty ugly by placing a panel on top of it and catching it's touch event..

Guess It'll have to do for now.
 
Upvote 0

jnbarban

Member
Licensed User
Longtime User
Hello, You can disable each view in your scrollview

Dim vView As View
For i = 0 To scv_ScrollView.Panel.NumberOfViews -1
vView = scv_ScrollView.Panel.GetView(i)
If bDesactiver = True Then
vView.Enabled = False
Else
vView.Enabled = True
End If
Next
 
Upvote 0
Top