CnPack Forum

#1 CnXlsWriter更新一个bug
没找到老刘,所以就发在这里了.管理员看到了更新一下吧.

修改这个函数即可.以前的代码会搞错int64和extended,因为variant里貌似没这个类型.现在把用string写入varriant的整型和浮点型,都在前面加个',防止被科学计数...

[code]
procedure TCnXlsWriter.SetCells(const ACol: Byte; const ARow: Word; const Value: Variant);
var
aStr: string;
aInt: Integer;
aFloat: Double;
aCode: Integer;
begin
case VarType(Value) of
..

#1 >>Next Page

Forum:CnVCL 组件包
Thread:CnXlsWriter更新一个b ...
Next Thread:TCnRawKeyBoard 如何 ...

Home
Login

Powered by Discuz!