?? 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 ComboBox1CloseUp(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.ComboBox1CloseUp(Sender: TObject);
begin
Ed_IP.Text := combobox1.Text;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -