I have a type which contains level names, scores, etc and would like to add the names to a list. The list will then be loaded into a ComboBox.
Example Type Code:
I would like to all of the names into a List.
Example Type Code:
B4X:
Public TreasureLevels(16) As CollectTreasure 'Work In Progress
TreasureLevels(0).Name = "Tropical Forest"
TreasureLevels(0).Score = 2110
TreasureLevels(0).BaseTime = 420 '7 Minutes
TreasureLevels(1).Name = "Silver Lake"
TreasureLevels(1).Score = 2920
TreasureLevels(1).BaseTime = 480 '8 Minutes
TreasureLevels(2).Name = "Thirsty Desert"
TreasureLevels(2).Score = 3340
TreasureLevels(2).BaseTime = 600 '10 Minutes
TreasureLevels(3).Name = "Twilight Hollow"
TreasureLevels(3).Score = 3240
TreasureLevels(3).BaseTime = 600 '10 Minutes
TreasureLevels(4).Name = "Shaded Garden"
TreasureLevels(4).Score = 3180
TreasureLevels(4).BaseTime = 480
I would like to all of the names into a List.