99问答网
所有问题
VB Listbox添加项
问题很简单,只要在Listbox中添加文字。 因为之前是用5.0的。换6.0之后就不知道在哪儿了。
举报该问题
推荐答案 推荐于2017-11-02
在编辑状态,可以在listBox的属性list中添加,直接点击list属性右侧下拉箭头后输入即可;在运行状态,可以使用语句 list1.AddItem 添加内容。
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/Bjt7OXzt7.html
其他回答
第1个回答 2013-09-11
用Ctrl+Enter输入多项 在程序中的话用List1.Additem "内容" 方法
第2个回答 2013-09-11
兄弟:可以代码:List1.Additem增加.Private Sub Form_Load()List1.AddItem "power"List1.AddItem "yadnfku"List1.AddItem "pcb"List1.AddItem "height"List1.AddItem "unit"List1.ListIndex = 0End Sub
第3个回答 2013-09-11
listbox.additem 就行啊
相似回答
大家正在搜
相关问题
vb中如何给listbox(列表框)添加编号
VB Listbox添加项
VB如何向LISTBOX添加数据
vb6中,如何向 Listbox 中添加项目或数组中的各个值...
VB listbox 添加选项问题
VB如何点击按钮在Listbox中添加删除项目
VB listbox 添加数据问题
求VB 添加listbox代码