delphi stringGrid

[复制链接]
查看11 | 回复3 | 2013-7-21 10:31:28 | 显示全部楼层 |阅读模式
提问人的追问 2010-05-13 16:29
点按钮之后 ,如果是要第一行 第一列那个单元格不能编辑,这又怎么写呢?可以在StringGrid 的OnSelectCell事件根据?0?2ACol,ARow: Integer;来处理比如:你要求的第一行第一列if (Acol=1) and (arow=1) thenStringGrid1.Options:= StringGrid1.Options-[goediting]//不能编辑elseStringGrid1.Options:= StringGrid1.Options+[goediting];//能编辑...
回复

使用道具 举报

千问 | 2013-7-21 10:31:28 | 显示全部楼层
StringGrid1.Options:= StringGrid1.Options-[goediting];//不能编辑StringGrid1.Options:= StringGrid1.Options+[goediting];//能编辑...
回复

使用道具 举报

千问 | 2013-7-21 10:31:28 | 显示全部楼层
用TMS Advstringgrid吧,能轻松实现...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行