📄 prtbooktypefrm.~pas
字号:
unit prtbooktypefrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, printchildfrm, StdCtrls, Buttons, ExtCtrls;
type
TprtbooktypeForm = class(TprintChildForm)
RB1: TRadioButton;
procedure BBprintClick(Sender: TObject);
procedure BBpreviewClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
prtbooktypeForm: TprtbooktypeForm;
implementation
{$R *.dfm}
procedure TprtbooktypeForm.BBprintClick(Sender: TObject);
var
rbindex:integer;
begin
inherited;
rbindex:=0;
if RB1.Checked=true then rbindex:=1;
postMessage(Application.MainForm.Handle,PT_BOOKTYPE,2,rbindex);
end;
procedure TprtbooktypeForm.BBpreviewClick(Sender: TObject);
var
rbindex:integer;
begin
inherited;
rbindex:=0;
if RB1.Checked=true then rbindex:=1;
postMessage(Application.MainForm.Handle,PT_BOOKTYPE,1,rbindex);
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -