以前可没想到过这个问题,估计没有简单的办法,只能是把第5行以后的数据往上复制,然后将RowCount设成小一个吧。找时间我好好看看它的源程序。
解决方案 »
- delphi 问题?
- C#翻译delphi问题,急..
- 急求:在程序中,如何用一个过程中断另一个过程或函数
- TWebBrowser怎么释放内存?
- 谁知道用SHELL调用KV2004时,传什么参数给KV2004,让它自动杀毒吗?
- 在delphi中如何从SQLSERVER数据库取出想要行数的结果集
- delphi控件操纵Excel时,奇怪的'被呼叫方拒绝接受呼叫'异常!!!!
- query或adoquery的使用
- 谁知道dxExpress那套控件的汉化包在哪儿能下载到?多提供网址多给分
- 如何在WebBrowser中得到IdHTTP的内容
- 请问学习DELPHI 还是 JAVA好,或 .NET,我想`做C/S 的通信方面。来者有分
- 该怎么设置dbcheckbox?
var
i,j,mrow,mcol:integer;
begin
if row<1 then //没有选择的行
exit; with stringgrid do
begin
mrow:=RowCount;
mcol:=ColCount;
for i:=row to mrow-1-1 do
for j:=1 to mcol-1 do
cells[j,i]:=cells[j,i+1];
rowcount:=rowcount-1;
end;
end;
var
i,j,mrow,mcol:integer;
begin
if row<1 then //没有选择的行
exit;
with stringgrid do
begin
mrow:=RowCount;
mcol:=ColCount;
for i:=row to mrow-2 do
Rows.Assign(Rows[i+1]);
rowcount:=rowcount-1;
end;
end;
var
i,j,mrow,mcol:integer;
begin
if row<1 then //没有选择的行
exit;
with stringgrid do
begin
mrow:=RowCount;
mcol:=ColCount;
for i:=row to mrow-2 do
Rows[i].Assign(Rows[i+1]);
rowcount:=rowcount-1;
end;
end;
genphone_ru(票票):交个朋友