首页
博客
专栏课程
下载
问答
社区
会员中心
论坛
代码
直播
Chrome 插件
能力认证
导航
全部
语言基础/算法/系统设计
数据库相关
图形处理/多媒体
网络通信/分布式开发
VCL组件开发及应用
Windows SDK/API
博文收录
Ada助手
问答
...
语言基础/算法/系统设计
数据库相关
图形处理/多媒体
网络通信/分布式开发
VCL组件开发及应用
Windows SDK/API
博文收录
Ada助手
问答
登录/注册
社区
Delphi
帖子详情
list index out of bounds(-1)?错误原因?
jessie0327
2004-05-10 07:49:42
前面有这样的语句listbox1.ItemIndex:=0;
为什么会出现这样的错误?
list index out of bounds(-1)?
...全文
给本帖投票
520
4
打赏
收藏
list index out of bounds(-1)?错误原因?
前面有这样的语句listbox1.ItemIndex:=0; 为什么会出现这样的错误? list index out of bounds(-1)?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
发表回复
按下Enter换行,Ctrl+Enter发表内容
编辑
预览
轻敲空格完成输入
显示为
卡片
标题
链接
打赏红包
xiangyanbang
2004-05-10
打赏
举报
回复
同意二楼的说法,即先赋初始值:
listbox1.item.add('项目1');
listbox1.item.add('项目2');
...
Listbox1.ItemIndex:=0;
miky
2004-05-10
打赏
举报
回复
前面有这样的语句listbox1.ItemIndex:=0;//这句是选中listBox的第一项,但如果listBox为空,这句不起作用。
list index out of bounds(-1)? 索引超出范围的意思,索引不能为(-1);
jessie0327
2004-05-10
打赏
举报
回复
能不能解释的详细一些?
miky
2004-05-10
打赏
举报
回复
你的ListBox没有选中任何项目,但是对项目进行操作。
List
index
out of
bounds
(-1)
错误
解决办法
解决办件运行弹出
List
index
out of
bounds
错误
.
NoteExpress:
List
index
out of
bounds
最近在使用NoteExpress时遇到
错误
:
List
index
out of
bounds
参考网友的讨论发现,只需要两步即可解决问题: 去除格式化 重新选择新的引文格式
出现
list
index
out of
bounds
(0)?
出现
list
index
out of
bounds
(0)? Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiNetwork/html/delphi_200612312048352.html 运用Socket编写了一个客户端,不过只能连上和接收服务器的信息,不知道为何不能发送信息,而且在退出时出现这个
错误
list
i...
成功解决
Index
Error:
index
0 is out of
bounds
for axis 1 with size 0
成功解决
Index
Error:
index
0 is out of
bounds
for axis 1 with size 0 目录 解决问题 解决思路 解决方法 解决问题
Index
Error:
index
0 is out of
bounds
for axis 1 with size 0 解决思路 索引
错误
:索引0超出了大小为0的轴1的范围。
错误
信息中提到了axis 1。轴1通常表示二维数组中的列。它说axis 1的size是0。意思是该数组没有任何列(列数为0)。但是你试图访
关于
List
index
out of
bounds
(0)的问题
关于
List
index
out of
bounds
(0)的问题 Delphi / Windows SDK/APIhttp://www.delphi2007.net/DelphiDB/html/delphi_20061223203333140.html 运行输入数据按确定按钮后,弹出对话框说
List
index
out of
bounds
(0),为什么会有这样的
错误
呢...
Delphi
5,914
社区成员
262,928
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
积分榜
荣誉榜
原力榜
学习榜
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章
手机看
关注公众号
客服
返回
顶部