?? unit3.~pas
字號:
unit Unit3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DB, ADODB, RM_Dataset, RM_Common, RM_Class,
RM_GridReport, RM_DsgGridReport, ExtCtrls, RM_Preview, RM_PDBGrid;
type
TForm3 = class(TForm)
RMDBDataSet1: TRMDBDataSet;
ADOQuery1: TADOQuery;
Button1: TButton;
RMGridReport1: TRMGridReport;
RMGridReportDesigner1: TRMGridReportDesigner;
RMPrintDBGrid1: TRMPrintDBGrid;
RMReport1: TRMReport;
RMPreview1: TRMPreview;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form3: TForm3;
implementation
{$R *.dfm}
uses Data;
procedure TForm3.Button1Click(Sender: TObject);
begin
//
RMGridReport1.LoadFromFile('基本工資.rls');
// RMGridReport1.DesignReport;
// rmgridReport1.DesignPreviewedReport;
//rmgridReport1.PrepareReport;
// RMReport1.LoadFromFile();
// Rmreport1.LoadFromFile('1.rmf');
// RMreport1.ShowReport;
RmGridReport1.ShowReport;
end;
procedure TForm3.Button2Click(Sender: TObject);
begin
RMGridReport1.LoadFromFile('基本工資.rls');
// RMGridReport1.DesignReport;
// rmgridReport1.DesignPreviewedReport;
//rmgridReport1.PrepareReport;
// RMReport1.LoadFromFile();
// Rmreport1.LoadFromFile('1.rmf');
// RMreport1.ShowReport;
RmGridReport1.ShowPreparedReport;
// RmGridReport1.ShowReport;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -