B4J Question Combobox item are not visible after first clik

StarinschiAndrei

Active Member
Licensed User
Longtime User
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 :
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
1617948830189.png
1617948883798.png
 

le_toubib

Active Member
Licensed User
Longtime User
Same problem happened to me before , it was solved by changing java version ..
But I think a friend here said it was related to the graphics driver ..
 
Upvote 0
Top