二百米决赛现场:delphi 中的IPEDIT控件如何取得它的值?

来源:百度文库 编辑:高考问答 时间:2024/05/11 03:13:57
delphi 中的IPEDIT控件如何取得它的值?也就是说如何返回它的值!

Description: An enhanced TEdit component for Inputing IP address
Author: Joe Zhang (ahjoe@szonline.net)
Date: 13 Dec 2000

This component is distributed as a freeware. You can use it freely, but if you do some modifications on this code, please let me know. Bug report and upgrade suggestion are Welcome.

Properties
IPString: An IP string like 'xxx.xxx.xxx.xxx', if current input is invalid, then this string is empty;
Addr: 32bit IP value, if current input is invalid, then this value is 0.

Events
OnChange: Generate after valid IP changed.
OnError: Generate when the input is invalid.
这是它的说明!