一个初学者的问题,关于组件ListBox1及DBComboBox1中被选中的项目使用什么参数呢?
我在设计一个页面时遇上了麻烦,请高手指点哦
在DBComboBox1中我用了ZDBComboBox1.Items[ZbbhBox1.ItemIndex],好像不对,在ListBox1中我用for i:=1 to (KmmcList.Items.Count - 1) do begin
if KmmcList.Selected[i] then
begin
SQL:=SQL+KmmcList.Items.Strings[i];
continue;
end;
好像也不对啊,总之,我是菜鸟,我要哭了,高手帮我哦