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!

Partially highlighted datebox

Status
Not open for further replies.

mpgalvin

Programmer
Feb 5, 2001
119
IE
Anyone know how to get a textbox containing a date to first highlight the first 2 characters, when tab is pressed, highlight the 4th and 5th, when tab is pressed once more, highlight the 7th and 8th and when tab is pressed once more come out of the box.

Much like the time control in Windows' Date Time Properties box?
 
I would start by having a look a the selstart and sellength properties
 
Thanks, but I downloaded a VCX from UT which did exactly what I needed plus more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top