(1) integer 于 Object
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/) cmbBox.Items.AddObject(A_Value,pointer(I_Value));
I_Ret:=cmbBox.itemindex;
I_perID:=integer(cmbBox.Items.Objects[I_Ret]);
(2) string 于 Object
A_Code:='custID';
ComboBox1.Items.AddObject('客户ID',TObject(A_Code));
A_Value:=string(ComboBox1.Items.Objects[ComboBox1.ItemIndex]);
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)