Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TMaskEdit to enter IP address

Status
Not open for further replies.

deyzel

Programmer
Apr 4, 2001
15
CA
I am looking for a proper mask to use a TMaskEdit component to allow the entering of an IP address. Currently I use the following: 999\.999\.999\.999;1;0 but found that it does not work on all computers and you have to enter zeroes where a sections has less than 3 digits.

Any help will be appreciated and suggestions on other ways/components to use to enter an IP address are welcome.

Regards
Deyzel
 
Like the help file says:
The 0 character requires a numeric character only in this position.

while

The 9 character permits a numeric character in this position, but doesn't require it.

don't you think that it should be:
000\.000\.000\.000;1;0
or
000\.000\.000\.000;1;_


---LastCyborg---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top