1。我的listbox为什么没有Listbox1.DeleteSelected这个方法?我用下面这段代码删除一个选中的Item也不可以
procedure TForm5.BitBtn2Click(Sender: TObject);
var
i:integer;
begin
i:=Listbox1.ItemIndex;
if Listbox1.Selected[i] then
Listbox1.Items.Delete[i];end;
2、如何把数据库中的所有字段名加如Combobox的列表中?
procedure TForm5.BitBtn2Click(Sender: TObject);
var
i:integer;
begin
i:=Listbox1.ItemIndex;
if Listbox1.Selected[i] then
Listbox1.Items.Delete[i];end;
2、如何把数据库中的所有字段名加如Combobox的列表中?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货