Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim 0,1,2,3,4 As Int End Sub Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. Dim i As Int Private Label1 As Label Private Spinner1 As Spinner 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("a1") Spinner1.Add("jhon") Spinner1.Add("rose") Spinner1.Add("mag") Spinner1.Add("lolo") Spinner1.Add("pan") End Sub
Spinner contain jhon, rose, mag, lolo, pan, f well. Jhon selection number 0 By choosing rose 1 By selecting mag 2 And .....
But I do not want this. Jhon want to select, for example, 2 or 5 or 9 Give me.
Or rose with a choice of 3 or 2 or 0 or 5 will give me
And also for other options. Please help me.
105.6 KB Views: 30