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!

TextBox Time Control.

Status
Not open for further replies.

MarkButler

Programmer
Feb 22, 2001
83
US
I have seen a number of DateTime controls referenced in this forum and was wondering if someone had a Time only control. I am about to embark on making one if someone does not have one or can steer me to a place with one.

What I am looking for is a control that will maintain a military time field stored as c(4) but allow maintenance in the format of "HH:MM AM", "HH:MM PM".

Any suggestions?

TIA
Mark
 
Check out my comments in thread184-806450

Brian
 
Mark,

I usually use the DTPicker ActiveX control for this. By setting its format to a time format (rather than a date format), you can make it behave pretty well as you described.

(But Brian's solution is a good one too.)

M ike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top