Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim demo As ShoppingView
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")
demo.Initialize("buy",Colors.Green,18,Colors.Yellow,Colors.Black)
Activity.AddView(demo,0,0,100%x,100%y)
demo.ShoppingText="Buy B4A"
demo.Duration=100
End Sub
Sub buy_add
Log(demo.TextNum)
End Sub
Sub buy_minus
Log(demo.TextNum)
End Sub