Link to home
Start Free TrialLog in
Avatar of d4jaj1
d4jaj1

asked on

DateTime Picker Component

Hello,

I'm looking for a FreeWare DateTime Picker component for D2.  Something that allows you to select the date from a calendar drop down box (as most components of this type do), as well as, select the time.  I beleive Microsoft has something like this.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Matvey
Matvey

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of michaue
michaue

Well,
What happened, did you get something or should I help you
Hmmm, do you have some timeedit?

I really don't knwo what is that and how should it work. -DateEdit is obvious...
Avatar of d4jaj1

ASKER

I though I saw something where these were combined into the SAME component (sort of like the common drop-down calendar - with a spin edit at the bottom).  Since the component I saw doesn't really do this (sales hype), I'm looking for a spin edit that would correctly increment the 12 hour system.  For example, if the current time is 11:59 AM - clicking the upspin should correctly turn it to 12:00 PM - and visa versa.  

I actually found a component that does this, as well as allows you to set the increment value - but it was built for D1 and there is a run-time error when certain situations occur in D2.

If you guys are component experts, I can sent it to you.  It's Freeware with source, so maybe you can tell what the errors are about.  The author hasn't responded to my email.  Post your email if you want to take a look.
bosism@netvision.net.il

You should go to Delphi pages to search... I'll try that...
Avatar of d4jaj1

ASKER

Matvey,

Thanks for the update.  It looks like you removed the increment property and hard coded 00:01.  That's fine for what I nee dto do, although I chnaged it to 00:15 in my version.  The only other thing is the spin buttons themselves.  Do you notice how they sort of run off of the right side of the control?  How would I fix this?

I realize this is not part of this question, so if you don't know I'll still grade this question an A.

Thanks.
If you want to fix it, I think you should try to fix TSpinEdit control itself. Also if you make the edit box larg enought you shouldn't get these ugly buttons.

I'll see what I can do...
Sent you an imroved component...
Avatar of d4jaj1

ASKER

Adjusted points to 15