如何修改大学挂科成绩:问一下这段代码有什么错误? 为什么不能实现翻到最后一页?

来源:百度文库 编辑:高校问答 时间:2024/05/06 06:55:26
//showmessage(inttostr(page)+'---'+inttostr(pageCount));
if pageCount>0 then begin
if page=pageCount then begin
if stringgrid1.RowCount>1 then begin
StringGrid1.SetFocus;
StringGrid1.Row := stringgrid1.RowCount-1;
StringGrid1.Col := 3;
end;

如果您知道可以加我的qq 470090联系