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