?? frmtmpropedit.pas
字號:
unit frmTMPropEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Buttons;
type
TForm4 = class(TForm)
PageControl1: TPageControl;
edtName: TTabSheet;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Label1: TLabel;
Edit1: TEdit;
GroupBox1: TGroupBox;
SpeedButton1: TSpeedButton;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
RadioButton3: TRadioButton;
RadioButton4: TRadioButton;
Edit2: TEdit;
TabSheet1: TTabSheet;
Label2: TLabel;
lblProgramID: TStaticText;
TabSheet2: TTabSheet;
Label3: TLabel;
SpeedButton2: TSpeedButton;
edtExeFile: TEdit;
OpenDialog1: TOpenDialog;
procedure BitBtn2Click(Sender: TObject);
procedure SpeedButton2Click(Sender: TObject);
procedure SpeedButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form4: TForm4;
implementation
{$R *.dfm}
procedure TForm4.BitBtn2Click(Sender: TObject);
begin
Form4.Visible := False ;
end;
procedure TForm4.SpeedButton2Click(Sender: TObject);
begin
OpenDialog1.Execute ;
end;
procedure TForm4.SpeedButton1Click(Sender: TObject);
begin
if RadioButton1.Checked = True then OpenDialog1.Filter :=
'Bitmaps(*.bmp)|*.bmp|Enhanced Metafile(*.emf)|*.emf|Metafile(*.wmf)|*.wmf|All Files(*.bmp,*.emf,*.wmf)|*.bmp,*.emf,*.wmf';
if RadioButton2.Checked = True then OpenDialog1.Filter :=
'Text File(*.txt)|*.txt|Rich File(*.rtf)|*.rtf|All Files(*.txt,*.rtf)|*.txt,*.rtf';
if RadioButton3.Checked = True then OpenDialog1.Filter := '' ;
if RadioButton4.Checked = True then OpenDialog1.Filter := 'Map Files(*.mmu)|*.mmu' ;
if OpenDialog1.Filter <> '' then OpenDialog1.Execute ;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -