procedure TForm1.BitBtn1Click(Sender: TObject);
var
i:integer;
begin
for i:=CheckListbox1.Items.Count-1 downto 0 do
if CheckListbox1.Checked[i] then CheckListbox1.Items.Delete(i);
end;
var
i:integer;
begin
for i:=CheckListbox1.Items.Count-1 downto 0 do
if CheckListbox1.Checked[i] then CheckListbox1.Items.Delete(i);
end;
解决方案 »
- 我服了你啊,Delhpi 一个ADOQuery怪的不能再怪的问题,大家请看....
- 如何用ftp下载服务器上的整个目录下的所有文件和目录,急!!!!!
- 如何用程序控制在同一个局域网中的其他机器的某个程序运行?
- 关于动态创建OleContainer的问题
- 如何控制SQL里的异常
- 如何判断行数??
- 如何在远程机子上调用一个com+的方法!com+新手提问
- 跪求这个内存怎么释放
- 救命,我都不知弄了多久了.100分不够再加
- mdac2.6和Delphi6.0的ADO不兼容,怎么办?
- ===有没有可以下拉多选(像CheckListBox一样)的combobox控件===
- "another user changed the record"是什么意思?该如何解决??
with CheckListbox1.Items do
begin
for i:=Count-1 downto 0 do
if CheckListbox1.Checked[i] then Delete(i)
end;
begin
for i:=Count-1 downto 0 do
if CheckListbox1.Checked[i] then Delete(i)
end;
在我这调试通过啦!!!!!!!!!!!!!!
在我这调试通过啦!!!!!!!!!!!!!!
begin
if checklistbox1.checked[i] then
checklistbox1.items.delete(i);
end;
没问题的。
i:integer;
begin
for i:=CheckListbox1.Items.Count-1 downto 0 do
if CheckListbox1.Checked[i] then CheckListbox1.Items.Delete(i);
end;
没问题的!