thisform.AddObject('oList1','ListBox') with thisform.oList1 .rowSource = "oldjobs" .rowsourcetype=2 .visible=.t. .top=186 .left=350 .width=250 .columncount=2 .columnwidths='150,75' .SelectedItemBackColor=RGB(70,60,50) .SelectedItemForeColor=RGB(10,191,160) .SpecialEffect=1 .ItemBackColor=RGB(40,40,40) .ItemForeColor=RGB(255,204,153) .BorderStyle = 1 .BorderColor=RGB(235,132,0) endwith