被绑定到 Data 控件的 ListBox 或 ComboBox 不支持 RemoveItem 方法
解决方案 »
- 谁做过用vb调用matlab呀?
- VB多线程问题
- 如何让 tab/statusbar 控件也支持 XP 风格
- Gmail~Gmail~Gmail~需要Gmail~的进来~7
- 求DateGrid控件实例(点击一条或选中一条,然后从DG中删除或加入另一个DG中)
- 菜鸟问一个关于文件操作的问题
- 为什么会这样?
- 如何在打开acdsee时可以到达指定的目录下比如c:\temp,每次运行到达的目录都不同
- 在线等!SQL Server图片数据打印在表格里......
- vba 表达式在上下文中未定义?未报错,菜鸟不懂,求大神指教
- 怎样在状态条上画进度条?
- "从工程\引用中把文件系统引用出来的" 谁能解释一下!
If MsgBox("操作成功,还要继续输入图书吗?", vbOKCancel, "提示!") = vbOK Then
bid.removeitem bookid Else
Unload Me
End If
bookid=bid.listindex
If MsgBox("操作成功,还要继续输入图书吗?", vbOKCancel, "提示!") = vbOK Then
bid.removeitem bookid Else
Unload Me
End If
那该怎么操作。
i=combo1.listindex
combo1.removeitem i
if combo1.list>0 then
combo1.listindex=i-1
else
combo1.listindex=0
end if
Dim i As Integer
Do While Not Combo1.List(i) = txt
i = i + 1
Loop
findindex = i
End Function