📄 fr_dopt.pas
字号:
{*****************************************}
{ }
{ FastReport v2.3 }
{ Document options }
{ }
{ Copyright (c) 1998-99 by Tzyganenko A. }
{ }
{*****************************************}
unit FR_Dopt;
interface
{$I FR.inc}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, FR_Const;
type
TfrDocOptForm = class(TForm)
GroupBox1: TGroupBox;
ComB1: TComboBox;
CB1: TCheckBox;
GroupBox2: TGroupBox;
CB2: TCheckBox;
Button1: TButton;
Button2: TButton;
procedure FormActivate(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frDocOptForm: TfrDocOptForm;
implementation
{$R *.DFM}
uses FR_Prntr;
procedure TfrDocOptForm.FormActivate(Sender: TObject);
begin
ComB1.Items.Assign(Prn.Printers);
ComB1.ItemIndex := Prn.PrinterIndex;
end;
procedure TfrDocOptForm.FormCreate(Sender: TObject);
begin
Caption := LoadStr(frRes + 370);
GroupBox1.Caption := LoadStr(frRes + 371);
CB1.Caption := LoadStr(frRes + 372);
GroupBox2.Caption := LoadStr(frRes + 373);
CB2.Caption := LoadStr(frRes + 374);
Button1.Caption := LoadStr(SOk);
Button2.Caption := LoadStr(SCancel);
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -