Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim sv As ScrollView
Dim lst As ClsCheckList
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
sv.Initialize(1000)
lst.Initialize(Me,sv,"lstCheck","lstClick","lstLongClick",1)
lst.DividerColor = Colors.Black
Activity.AddView(sv,0,0,100%x,100%y)
For i=1 To 10
lst.AddItemNoChkbx(0,"Test ",i,Null)
Next
lst.ResizePanel
End Sub
Sub lstClick
Msgbox("Click","")
End Sub