`
hanbaohong
  • 浏览: 388687 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

在VB中用ListBox代替数组可快速查找某值的索引号

    博客分类:
  • VB
VB 
阅读更多

例如:要查找"hbwl"所对引的索引号

ListBox1.Text = "hbwl"
syh=ListBox1.ListIndex

msgbox(syh)

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics