home *** CD-ROM | disk | FTP | other *** search
- unit Fdemo17;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, PrnWin, ExtCtrls, StdCtrls, Buttons, Vruler, HRuler,
- DBPrnWin, CB_MFunc;
-
- type
- TForm17 = class(TForm)
- Image1: TImage;
- Label1: TLabel;
- Label3: TLabel;
- Edit1: TEdit;
- Shape1: TShape;
- Label4: TLabel;
- Label5: TLabel;
- Edit2: TEdit;
- Shape2: TShape;
- Edit3: TEdit;
- Shape3: TShape;
- Edit4: TEdit;
- Edit5: TEdit;
- Edit6: TEdit;
- Edit7: TEdit;
- Edit8: TEdit;
- Edit9: TEdit;
- Edit10: TEdit;
- Shape10: TShape;
- Label6: TLabel;
- Shape11: TShape;
- Label7: TLabel;
- Shape12: TShape;
- Label8: TLabel;
- Shape13: TShape;
- Edit11: TEdit;
- Edit12: TEdit;
- Edit13: TEdit;
- Edit14: TEdit;
- Edit15: TEdit;
- Label9: TLabel;
- Edit16: TEdit;
- Edit17: TEdit;
- Edit18: TEdit;
- Edit19: TEdit;
- Edit20: TEdit;
- Edit21: TEdit;
- Edit22: TEdit;
- Edit23: TEdit;
- Edit24: TEdit;
- Edit25: TEdit;
- Edit26: TEdit;
- Edit27: TEdit;
- Memo1: TMemo;
- View: TBitBtn;
- Cancel: TBitBtn;
- Memo2: TMemo;
- DBPrintWin1: TDBPrintWin;
- procedure ViewClick(Sender: TObject);
- procedure FormActivate(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- Form17: TForm17;
-
- implementation
-
- {$R *.DFM}
-
- procedure TForm17.ViewClick(Sender: TObject);
- begin
- DBPrintWin1.BeginPrint;
-
- { DBPrintWin1.DrawWindowInRect( 1,1,7,9, Self); }
- DBPrintWin1.DrawWindowAt( 1,1, Self);
- DBPrintWin1.EndPrint;
- end;
-
- procedure TForm17.FormActivate(Sender: TObject);
- begin
- VertScrollBar.Position := 0;
- HorzScrollBar.Position := 0;
-
- end;
-
- end.
-