S
sunsusu
Unregistered / Unconfirmed
GUEST, unregistred user!
我在dbgrideh的DrawColumnCell事件中加了如下代码:
if trim(column.Title.Caption)='序号' then
begin
dbgrideh1.canvas.textrect(rect,rect.left,rect.top,inttostr(dbgrideh1.datasource.dataset.recno));
end;
为什么在预览的时候看不到前面的序号???
if trim(column.Title.Caption)='序号' then
begin
dbgrideh1.canvas.textrect(rect,rect.left,rect.top,inttostr(dbgrideh1.datasource.dataset.recno));
end;
为什么在预览的时候看不到前面的序号???