C
chc121
Unregistered / Unconfirmed
GUEST, unregistred user!
该控件很有用,但不知是何原因,单元格操作如此复杂:
var
ACell: TcxSSCellObject;
i: TcxSSEdgeBorder;
ACell := cxSpreadSheetBook1.ActiveSheet.GetCellObject(1, 1);
try
with ACell.Style.Bordersdo
for i := eLeft to eBottomdo
begin
Edges.Color := 4;
//clBlue
Edges.Style := lsMediumDashDotDot;
end;
finally
ACell.Free;
end;
难道每个cell都得如此(先get,后操作,再free),是不是效率太低了?!
本人用了觉得:操作繁锁、速度走超慢。也用过XLGrid,f1book之类,各有所长,问题多多。哪位高手能否指点一二,在此感谢!!!
var
ACell: TcxSSCellObject;
i: TcxSSEdgeBorder;
ACell := cxSpreadSheetBook1.ActiveSheet.GetCellObject(1, 1);
try
with ACell.Style.Bordersdo
for i := eLeft to eBottomdo
begin
Edges.Color := 4;
//clBlue
Edges.Style := lsMediumDashDotDot;
end;
finally
ACell.Free;
end;
难道每个cell都得如此(先get,后操作,再free),是不是效率太低了?!
本人用了觉得:操作繁锁、速度走超慢。也用过XLGrid,f1book之类,各有所长,问题多多。哪位高手能否指点一二,在此感谢!!!