Newbie question: populating combobox

WiLey2000

Member
Licensed User
Longtime User
Hi all,

Is it possible to populate a combobox from a table column?
If so, could someone give me an example.

Thanks
WiLey2000
 

specci48

Well-Known Member
Licensed User
Longtime User
Hi WiLey2000,

it is possible, but you have to cycle through all rows of the table. There is no "standard"-function for that:

B4X:
Sub FillComboFromTable
   For i = 0 To Table1.RowCount - 1
      ComboBox1.Add(Table1.Cell("ComboColumn", i))
   Next
End Sub


specci48
 
Top