unit IpInput;
interface
uses
Windows,Dialogs,SysUtils,Classes,Graphics,Forms,Controls,StdCtrls,Buttons,ExtCtrls,
ComCtrls,Commctrl;
type
TInputIpFrm = class(TForm)
SpdBfdftnCancle: TLabel;
SpdBtnOK: TSpeedButton;
SpdBtnCancle: TSpeedButton;
procedure FormShow(Sender: TObject);
procedure SpdBtnOKClick(Sender: TObject);
procedure SpdBtnCancleClick(Sender: TObject);
procedure FormDestroy(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
public
ipEdit:HWND;
m_CommunicationIP:String;
ipAddress:integer;
procedure GetIPNum(strIniIP:String;out nFirst,nSecond,nThird,nForth:integer);
end;
var
InputIpFrm: TInputIpFrm;
implementation
{$R *.dfm}
procedure TInputIpFrm.GetIPNum(strIniIP:String;out nFirst,nSecond,nThird,nForth:int