irgendwo mache ich etwas falsch. Iche rzeuge eine Listobx, dann kommen Werte hinzu aber danach bleibt die Listbox leer
Code: Alles auswählen
oListBox := XbpListbox():new(oDlg,, aPos, {800, 200})
oListBox:markMode := XBPLISTBOX_MM_SINGLE
oListbox:ItemSelected:={||msgbox("bea") }
oListBox:create( )
For j = 1 to Len(aUProd)
oListbox:addItem(aUProd[j][1]+space(5)+aUProd[j][2] )
Next j
Code: Alles auswählen
AAdd(aUProd,{cName,cPreis,0,0})
oListBox:addItem(cName+space(5)+cPreis )
oListbox:configure()