列表框数据传输 [英] list box data transfer

查看:67
本文介绍了列表框数据传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi如何将数据从一个列表框传输到另一个列表框

hi how to transfer data from one list box to another list box

推荐答案

hi sameertm,

假设我们要将项目从listbox1转移到listbox2,然后:

如果listbox1.selecteditem<>那没什么
listbox2.items.add(listbox1.selecteditem)
如果
结束
希望这可以帮助! :)
hi sameertm,

suppose we want to transfer an item from listbox1 to listbox2,then:

if listbox1.selecteditem <> nothing then
listbox2.items.add(listbox1.selecteditem)
end if

hope this helps! :)


使用ListBox1.Add

只需选择选定的项目并将其添加.
Use ListBox1.Add

Just pick the selected Item and add it.


这篇关于列表框数据传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆