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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating an input mask for time in a textbox

Status
Not open for further replies.

jjhobs

Instructor
Sep 18, 2003
27
GB
I have a textbox in my project and I want to ensure that users ype in a time in the format hh:mm:ss. Can anyone tell me how to do this?

 
You want to use a Masked Text Box instead of a Text Box. There will be a property for Mask, which you set as needed.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB/Access Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top