This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / VB中如何把listbox中的记录绑定另外一个数字?原来记录中有唯一编号,在listbox中显示它的描述,有什么方法可以在click这个listbox的时候得到那个编号?
谢谢
-oceandeep(北极熊® Zzz Zzz);
2002-9-30
{107}
(#775173@0)
-
the original unique gotta be numericthen listbox.itemdata(i)=id to save, id=listbox.itemdata(i) to retrieve
-rootbear(啤酒 ^v^);
2002-9-30
{71}
(#775180@0)
-
你意思是listbox1.additem "abce",以后,再把abce的唯一数字标示,如果是1234,listbox1.itemdata(****)=1234,(其中****是它的listindex)?谢谢
-oceandeep(北极熊® Zzz Zzz);
2002-9-30
(#775183@0)
-
say...
-rootbear(啤酒(^v^));
2002-9-30
{604}
(#775188@0)
-
yes, Thank you very much
-oceandeep(北极熊® Zzz Zzz);
2002-9-30
(#775192@0)