📄 ukind.pas
字号:
unit Ukind;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin, ExtCtrls, Buttons;
type
Tfrm_kind = class(TForm)
BitBtn1: TBitBtn;
Label3: TLabel;
RadioGroup1: TRadioGroup;
SpinEdit1: TSpinEdit;
ComboBox1: TComboBox;
procedure RadioGroup1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frm_kind: Tfrm_kind;
implementation
{$R *.dfm}
procedure Tfrm_kind.RadioGroup1Click(Sender: TObject);
begin
spinedit1.Visible:=false;
case radioGroup1.ItemIndex of
0 : spinedit1.Value:=17;
1 : spinedit1.Value:=13;
2 : spinedit1.Value:=6;
3 : spinedit1.Visible:=true;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -