📄 copydlg.pas
字号:
unit CopyDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TCopyDialog = class(TForm)
Label1: TLabel;
cbFolder: TComboBox;
Button1: TButton;
Button2: TButton;
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
private
{ Private declarations }
public
{ Public declarations }
end;
var
CopyDialog: TCopyDialog;
implementation
{$R *.DFM}
procedure TCopyDialog.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
if (ModalResult = mrOk) then CanClose := cbFolder.ItemIndex >= 0;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -