[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • Last Modified:

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.
0
d4jaj1
Asked:
d4jaj1
  • 5
  • 3
1 Solution
 
MatveyCommented:
Date picker:

  There's one in the RX lib:
  http://rx.unionjv.ru

  OR I can send you another one if you post  your email.

Time picker:

  How do you imagine this one? -a clock or something?
  I think you should just use a mask-edit or some other mask control...

Hope this is it...
Cheers,
Matvey

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

I really don't knwo what is that and how should it work. -DateEdit is obvious...
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
d4jaj1Author Commented:
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.
0
 
MatveyCommented:
bosism@netvision.net.il

You should go to Delphi pages to search... I'll try that...
0
 
d4jaj1Author Commented:
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.
0
 
MatveyCommented:
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...
0
 
MatveyCommented:
Sent you an imroved component...
0
 
d4jaj1Author Commented:
Adjusted points to 15
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now