Assuming that you are using full gui, you need the oDa part, but if not, just delete the oDa stuff.,
oDa := oDlg:DrawingArea
oListBox := XbpListbox():new()
oListBox:markMode := XBPLISTBOX_MM_SINGLE
oListBox:create(oDa,, {300, 100}, {200, 150} )
aItems := US_States()
aEval(aItems,{|x|...