//各位可以试一下
import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=759;bottom=469)
winform.add(
button={cls="button";text="筛选删除";left=520;top=24;right=747;bottom=85;z=2};
listview={cls="listview";left=13;top=99;right=747;bottom=463;edge=1;fullRow=1;gridLines=1;z=1};
static={cls="static";text="删不完,实际循环次数不是获取的总数count";left=270;top=47;right=511;bottom=68;transparent=1;z=3}
)
/*}}*/
winform.listview.insertColumn("机型",120)
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.button.oncommand = function(id,event){
for(i=1;winform.listview.count;1){
if(winform.listview.getItemText(i,1)="data"){
winform.listview.delItem(i)
}
}
}
winform.show();
win.loopMessage();
import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=759;bottom=469)
winform.add(
button={cls="button";text="筛选删除";left=520;top=24;right=747;bottom=85;z=2};
listview={cls="listview";left=13;top=99;right=747;bottom=463;edge=1;fullRow=1;gridLines=1;z=1};
static={cls="static";text="删不完,实际循环次数不是获取的总数count";left=270;top=47;right=511;bottom=68;transparent=1;z=3}
)
/*}}*/
winform.listview.insertColumn("机型",120)
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.listview.addItem({"data"})
winform.button.oncommand = function(id,event){
for(i=1;winform.listview.count;1){
if(winform.listview.getItemText(i,1)="data"){
winform.listview.delItem(i)
}
}
}
winform.show();
win.loopMessage();