回复 10楼 ilikeflash
俺在 7 楼的回复楼主可曾试过?
泉城飞狐
** Test.prg 双击列表删除条目 CREATE CURSOR tt (f1 C(10)) INSERT INTO tt VALUES ("101") INSERT INTO tt VALUES ("202") INSERT INTO tt VALUES ("303") INSERT INTO tt VALUES ("404") INSERT INTO tt VALUES ("505") INSERT INTO tt VALUES ("606") SELECT f1 FROM tt INTO CURSOR tmp READWRITE of = CREATEOBJECT("form1") of.show(1) DEFINE CLASS form1 as Form ADD OBJECT list1 as listbox WITH top=10,left=10,; RowSourceType=3,; RowSource="SELECT f1 FROM tmp INTO CURSOR list1_tmp READWRITE" PROCEDURE list1.DblClick USE IN "tmp" SELECT f1 FROM list1_tmp WHERE RECNO() != this.listindex INTO CURSOR tmp this.Requery ENDPROC ENDDEFINE