📄 uselectip.pas
字号:
unit uSelectIP;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls, ExtCtrls;
type
TfrmSelectIP = class(TForm)
Panel1: TPanel;
Label1: TLabel;
ComboBox1: TComboBox;
SpeedButton1: TSpeedButton;
Label2: TLabel;
Label3: TLabel;
Ed_IP: TEdit;
procedure SpeedButton1Click(Sender: TObject);
procedure ComboBox1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmSelectIP: TfrmSelectIP;
implementation
{$R *.dfm}
procedure TfrmSelectIP.SpeedButton1Click(Sender: TObject);
begin
if Ed_IP.Text <> '' then
close;
end;
procedure TfrmSelectIP.ComboBox1Click(Sender: TObject);
begin
Ed_IP.Text := combobox1.Text;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -