root / UnitChartVReport.pas @ 1
Historique | Voir | Annoter | Télécharger (875 octets)
1 | 1 | avalancogn | unit UnitChartVReport;
|
---|---|---|---|
2 | |||
3 | interface
|
||
4 | |||
5 | uses
|
||
6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, |
||
7 | Dialogs, ExtCtrls, QuickRpt, QRCtrls, grimgctrl, gnugettext; |
||
8 | |||
9 | type
|
||
10 | TFormChartVReport = class(TForm)
|
||
11 | QuickRepChart: TQuickRep; |
||
12 | PageFooterBand1: TQRBand; |
||
13 | DetailBand1: TQRBand; |
||
14 | QRSysDataDate: TQRSysData; |
||
15 | QRLabelEvaPig: TQRLabel; |
||
16 | QRGrImageChart: TQRGrImage; |
||
17 | procedure FormCreate(Sender: TObject);
|
||
18 | private
|
||
19 | { Private declarations }
|
||
20 | public
|
||
21 | { Public declarations }
|
||
22 | end;
|
||
23 | |||
24 | var
|
||
25 | FormChartVReport: TFormChartVReport; |
||
26 | |||
27 | implementation
|
||
28 | |||
29 | {$R *.dfm}
|
||
30 | |||
31 | procedure TFormChartVReport.FormCreate(Sender: TObject);
|
||
32 | begin
|
||
33 | if Screen.Fonts.IndexOf('Arial Unicode MS') <> -1 |
||
34 | then
|
||
35 | begin
|
||
36 | Font.Name := 'Arial Unicode MS';
|
||
37 | QuickRepChart.Font.Name := 'Arial Unicode MS';
|
||
38 | end;
|
||
39 | end;
|
||
40 | |||
41 | end. |