Hi forum,
I don't understand. What's wrong with this code ?
When I touch the screen the message box is displayed but the application is freezed. Nothing happens when I touch "OK". After a while, a message
appears : "Sorry! activity hmove does not respond" (Force close) (Wait)
Any idea ???
Thks,
WW
I don't understand. What's wrong with this code ?
B4X:
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
Dim PNL_SCROLL As Panel
Dim CVSLAYER As Canvas
End Sub
Sub Activity_Create(FirstTime As Boolean)
PNL_SCROLL.Initialize( "SCROLL" )
Activity.AddView( PNL_SCROLL, 0, 0, 100%x, 100%y )
PNL_SCROLL.Color = Colors.transparent
CVSLAYER.Initialize( Activity )
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub SCROLL_Touch (Action As Int, X As Float, Y As Float)
Msgbox( "Down" ,"blabla")
End Sub
When I touch the screen the message box is displayed but the application is freezed. Nothing happens when I touch "OK". After a while, a message
appears : "Sorry! activity hmove does not respond" (Force close) (Wait)
Any idea ???
Thks,
WW