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 判断字符串是否为纯字母组合

python4Delphi 示例应用程序在 Delphi 应用程序中运行简单的 python 脚本

Delphi 取整算法集合

Delphi中in的使用

Delphi ascii 码对照表

Delphi 判断字符是否是汉字,bytetype字符串中判断是否英文

Delphi禁用、启用usb

Delphi 在指定图片上绘制透明文字

Delphi 把单张图片保存到access数据库

Delphi 删除字符串中指定字符

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



打赏

取消

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

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

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

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

评论

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