Hi to all
how to create a " spinner" or something like a drop-down selection
it seems combo box / choice box doesn't work
?
i want to select in a "spinner" the code below ..... hmmmmm
B4X:
sql1.Initialize(File.DirApp,"user.db",False)
Dim Cursor1 As ResultSet
Dim userlist As List
userlist.Initialize
Cursor1 = sql1.ExecQuery("SELECT col1, col2,col3, col4 FROM table1")
Do While Cursor1.NextRow
userlist.Add(Cursor1.GetString("col2"))
Log ( Cursor1.GetString("col2"))
Loop
Cursor1.Clos
What is the difference between a choicebox and combobox??
I use combos, but I am always looking around.
Mark
Edit: I think I may have found it on the Oracle website.
It looks as though a choice is used to have the selected index (so to speak) perform specific commands, rather than having to figure out what the index would be for a combobox in order to perform a command. It would be easier to add commands to a choicebox without a bunch of hoopla.
I think I get it, but if I'm way off. Please update!
mark