这是个俄罗斯人写的控件,源码里不是中文注释嘛。 中文标题乱码,是因为控件设定字符集为RUSSIAN_CHARSET打开UnitReport.pas,将 function SetReport(aForm:TForm;DSet:TDataSet;cap:string):TQuickRep; var aReport:TQuickRep; begin aReport:=TQuickRep.Create(Application); with aReport do begin Parent :=aForm; Font.Name:='Tahoma'; Font.Charset:=RUSSIAN_CHARSET; ReportTitle:=cap; Font.Size:=8; DataSet := DSet; end; Result:=aReport; end;中的字体,字符集设置改过来就行了
中文标题乱码,是因为控件设定字符集为RUSSIAN_CHARSET打开UnitReport.pas,将
function SetReport(aForm:TForm;DSet:TDataSet;cap:string):TQuickRep;
var
aReport:TQuickRep;
begin
aReport:=TQuickRep.Create(Application);
with aReport do
begin
Parent :=aForm;
Font.Name:='Tahoma';
Font.Charset:=RUSSIAN_CHARSET;
ReportTitle:=cap;
Font.Size:=8;
DataSet := DSet;
end;
Result:=aReport;
end;中的字体,字符集设置改过来就行了