dblistbox的问题,为什么不能对它进行操作,如选择,点击等
我用一个btn将一个数据表中的一个字段内容加到了一个dblistbox中:
begin
with dblistbox1 do
begin
while not adodataset1.Eof do
begin
dblistbox1.Items.Add(adodataset1.FieldValues['au_id']);
//这里换成listbox就行
adodataset1.Next;
end;
end;
end;
然后我只是想对Dblistbox进行操作,如:点击选定一个值,并且将这个值传到另一个文本框内或是输出就行,为什么listbox可以作相应操作,而dblistbox却不可进行选择点击操作呢?谢谢!