Hello everyone, can anybody tell me how can i solve this problem ?
1st image - items are populated in combobox
2nd image -is when i clicked on both item in combo.
My code :
1st image - items are populated in combobox
2nd image -is when i clicked on both item in combo.
My code :
B4X:
For i=0 To res.Rows.Size-1
Dim p As Pane
p.Initialize("")
Dim lbl As Label
lbl.Initialize("")
Dim m_infteh As Map
m_infteh.Initialize
m_infteh.Put("nrS",jRDC2Utils.GetColumnObject(res,i,"nr_s"))
m_infteh.Put("nrL",jRDC2Utils.GetColumnObject(res,i,"nr_l"))
lbl.Text=jRDC2Utils.GetColumnObject(res,i,"Name")
lbl.TextColor=fx.Colors.Black
lbl.Tag=m_infteh
p.AddNode(lbl,0,0,-1,-1)
cmbTehnician.Items.Add(p)
Next