21370.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 31 行
HTML
31 行
<html> <head> <title>Re: 点选ListBox时,其ListIndex为何是-1?</title> </head> <body bgcolor="#FFFFFF" vlink="#808080"> <center> <h1>Re: 点选ListBox时,其ListIndex为何是-1?</h1> </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by <a href="mailto:lemontea@ms28.hinet.net">lemontea</a> on November 16, 1999 at 08:25:27:<p>In Reply to: <a href="21368.html">点选ListBox时,其ListIndex为何是-1?</a> posted by 初学者 on November 16, 1999 at 00:51:09:<p>: MultiSelect=0,点选ListBox时,其ListIndex为何是-1,ListBox.text=""?不管点选几次都一样。<p>因为你的 list box 是空的....<br>请使用 additem 方法新增项目到 list box<br>则第一项 listindex 是 0 <br>第二项是 1<br>以此类推............<p><br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 21370--><!--top: 21391--><li><a href="21391.html">Re: 点选ListBox时,其ListIndex为何是-1?</a> <b>Maggie</b> <i>16:19:47 11/16/99</i>(<!--responses: 21391-->1)<ul><!--insert: 21391--><!--top: 21472--><li><a href="21472.html">Re: 点选ListBox时,其ListIndex为何是-1?</a> <b>小羊</b> <i>18:05:57 11/19/99</i>(<!--responses: 21472-->0)<ul><!--insert: 21472--></ul><!--end: 21472--></ul><!--end: 21391--></ul><!--end: 21370--><br><hr size=7 width=75%><p></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?