In the code below it is just adding the text like "Team 2", "Team 3", "Team 4". So what am I doing wrong?
Dim tcnt As Int
Dim IC As Int
Dim tmcnt As String
Dim tmname As String
tcnt = spnNumteams.SelectedItem
For IC = 2 To tcnt
tmcnt = """Team " & IC & ""","
tmname = tmname & tmcnt
Next
tmname = tmname.SubString2(0,tmname.Length -1)
spnNameTeams.Clear
spnNameTeams.AddAll (Array As String(tmname))
In the code below it is just adding the text like "Team 2", "Team 3", "Team 4". So what am I doing wrong?
Dim tcnt As Int
Dim IC As Int
Dim tmcnt As String
Dim tmname As String
tcnt = spnNumteams.SelectedItem
For IC = 2 To tcnt
tmcnt = """Team " & IC & ""","
tmname = tmname & tmcnt
Next
tmname = tmname.SubString2(0,tmname.Length -1)
spnNameTeams.Clear
spnNameTeams.AddAll (Array As String(tmname))
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("main")
For i = 2 To 10
Spinner1.Add("""Team " & i & """")
Next
End Sub