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

Settings for a Mask edit box

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,
I'm working on a project where a user needs to type in a date e.g. 22/02/2002 into a mask edit box which will then find out and give the result in an box just below it, could somebody please help me to acheive this.

Also how can I set up the mask edit box just to allow the number not letters?

thanks for your time...
 
Enter the following mask into your maskedits EditMask property on the Object Inspector.

!99/99/0000;1;_

This will force the maskedit box to only receive numbers in the date format you specified above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top