5,386
社区成员
发帖
与我相关
我的任务
分享
procedure TForm1.Button1Click(Sender: TObject);
begin
RzComboBox1.InsertItemValue(0,'aa','bb');
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
ShowMessage(RzComboBox1.Values.Strings[RzComboBox1.itemindex] );
end;
while not Ado.Eof do
begin
cbo.Items.Add(Ado.Fields[1].AsString);
cbo.KeyItems.Add(Ado.Fields[0].AsString);
Ado.Next;
end;