EstasPerplejo
Member
Hi all.
After searching the forum on this topic I still can't manage to add items to my b4xcombobox...
I tried this:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
B4XComboBox1.AddItem("Item 1")
B4XComboBox1.AddItem("Item 2")
End Sub
I get an error in the logs saying: unknown member AddItem
i declared the ComboBox in the class clobals as:
Private B4XComboBox1 As B4XComboBox
What am I missing?
Thanks.
================================
Using B4X 12.80
Android 14
================================
After searching the forum on this topic I still can't manage to add items to my b4xcombobox...
I tried this:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
B4XComboBox1.AddItem("Item 1")
B4XComboBox1.AddItem("Item 2")
End Sub
I get an error in the logs saying: unknown member AddItem
i declared the ComboBox in the class clobals as:
Private B4XComboBox1 As B4XComboBox
What am I missing?
Thanks.
================================
Using B4X 12.80
Android 14
================================