📄 uab3.pas
字号:
unit UAB3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DosMove, StdCtrls, xpEdit, ExtCtrls, Buttons;
type
TFmAB3 = class(TForm)
Label1: TLabel;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
BitBtn1: TBitBtn;
Panel1: TPanel;
Label2: TLabel;
Label3: TLabel;
xpEdit1: TxpEdit;
xpEdit2: TxpEdit;
DosMove1: TDosMove;
procedure FormCreate(Sender: TObject);
procedure RadioButton2Click(Sender: TObject);
procedure RadioButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FmAB3: TFmAB3;
implementation
{$R *.dfm}
procedure TFmAB3.FormCreate(Sender: TObject);
begin
Height := 150;
end;
procedure TFmAB3.RadioButton2Click(Sender: TObject);
begin
If RadioButton2.Checked Then
Begin
Panel1.Visible := True;
FmAB3.BitBtn1.Default := False;
FmAB3.Height := 375;
End;
end;
procedure TFmAB3.RadioButton1Click(Sender: TObject);
begin
If RadioButton1.Checked Then
Begin
Panel1.Visible := False;
FmAB3.BitBtn1.Default := True;
FmAB3.Height := 150;
End;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -