listbox字段移动问题
DO CASE CASE thisform.list2.listindex>0 .and. thisform.list2.ListCount>0
thisform.list2.ListIndex=1
CASE thisform.list2.ListIndex=0 .and.thisform.list2.listcount>0
thisform.list2.ListIndex=1
CASE thisform.list2.listindex=0 .and.thisform.list2.listcount=0
thisform.list2.ListIndex=0
ENDCASE
IF thisform.list2.listindex>0
thisform.list3.AddItem(ALLTRIM(thisform.list2.value))&&在list3中增加一个字段,在list2删除一个字段
thisform.list3.refresh
thisform.list2.removeitem(thisform.list2.ListIndex)
thisform.list2.refresh
ELSE
thisform.cmdremover.Enabled= .T.
thisform.cmdremoverall.Enabled= .T.
thisform.cmdadd.Enabled= .f.
thisform.cmdaddall.Enabled= .f.
ENDIF
发现list2中选定的结果无法现在list3上