Hi,
Is is possible when i dynamically add a Scrollview with AddView to connect a Touch function with it?
Currently i have this in the Activity_Create:
Now i want to check if the scvMain is touched but this doesn't work:
Can someone help me please? Thanks!
Is is possible when i dynamically add a Scrollview with AddView to connect a Touch function with it?
Currently i have this in the Activity_Create:
B4X:
Dim scvMain As ScrollView
Dim Panel1 As Panel
scvMain.Initialize(500)
Panel1.AddView(scvMain,0,0,100%x,100%y)
Now i want to check if the scvMain is touched but this doesn't work:
B4X:
Sub scvMain_Touch (Action As Int, X As Float, Y As Float)
Msgbox("Test", "test")
End Sub
Can someone help me please? Thanks!