Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private Label1 As Label
Private Label3 As Label
Private Label5 As Label
Private Label7 As Label
Private Label9 As Label
Private Label10 As Label
Private Label8 As Label
Private Label6 As Label
Private Label4 As Label
Private Label2 As Label
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")
Dim Label(11) As Label
For i = 1 To 10
Label(i).Initialize("")
Label(i).text = i
Next
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.