delphi StringGrid中回车换行


本文整理自网络,侵删。

 if key = vk_return then//设置回车代替tab键
with a do
begin
if Col=(ColCount-FixedCols) then
begin
if Row<(RowCount-FixedRows) then
begin
Row := Row+1;
Col := 1;
end;
if Row=RowCount-FixedRows then
begin
RowCount:=RowCount+1;
Row := Row+1;
Col := 1;
end;
end
else
Col:=Col+1;
end;

相关阅读 >>

Delphi windows 编程[15] - 菜单消息: wm_command

Delphi判断系统是否64位

Delphi 关闭进程方法

Delphi使用zlib压缩和解压文件

Delphi xe8 无法进入android的调试状态

Delphi通过adoquery控件实现sqlserver数据库多结果集的数据打印

Delphi 软关闭显示器的代码

Delphi:out参数和var参数的区别

Delphi monthoftheyear、weekoftheyear、weekofthemonth、dayoftheyear … 相对时间

Delphi中操作powerpoint幻灯片的示例代码

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...