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 判断按键状态

Delphi memo 手动选择txt文本编码并读取

Delphi rest api post sample

Delphi fmx中获取窗口比例

Delphi datasnap清除僵死连接

Delphi的combobox不能输入只能选择

Delphi 获取安卓手机wifi信息(xe8)

webbrowser里网页根据文字判断来点击链接

Delphi的split函数 4个版本

Delphi 图像二值化

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



打赏

取消

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

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

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

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

评论

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