Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim pg1, pg2 As pgWheel
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("main")
pg1.Initialize("pgw")
pg1.AddToParent(Activity,10dip,10dip,40dip,40dip)
pg1.CircleRadius = 80
pg1.RimWidth = 10
pg1.SpinSpeed = 4
pg1.spin
pg2.Initialize("pgw")
pg2.AddToParent(Activity,60dip,10dip,125dip,125dip)
pg2.CircleRadius = 70
pg2.RimWidth = 15
pg2.SpinSpeed = 4
pg2.BarColor = Colors.Red
pg2.ContourSize = 1
pg2.RimColor = Colors.Blue
pg2.CircleColor = Colors.Green
pg2.Text = "Hallo World"
pg2.spin
End Sub