uSelIP.pas
资源名称:VoIPPhone.rar [点击查看]
上传用户:axbxcx
上传日期:2009-10-29
资源大小:15k
文件大小:1k
源码类别:
TAPI编程
开发平台:
Delphi
- unit uSelIP;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, StdCtrls, Buttons;
- type
- TFormSelIP = class(TForm)
- Label1: TLabel;
- LbMySelIP: TLabel;
- LsAllIP: TListBox;
- BtOk: TBitBtn;
- BtCancel: TBitBtn;
- CkAll: TCheckBox;
- procedure LsAllIPClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- implementation
- {$R *.dfm}
- procedure TFormSelIP.LsAllIPClick(Sender: TObject);
- begin
- if LsAllIP.ItemIndex >= 0 then
- LbMySelIP.Caption := '我的选择是: ' + LsAllIP.Items[LsAllIP.ItemIndex]
- else LbMySelIP.Caption := '我的选择是: ';
- end;
- end.