Solved

DateTime Picker Component

Posted on 1998-06-09
9
393 Views
Last Modified: 2010-04-04
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
Comment
Question by:d4jaj1
  • 5
  • 3
9 Comments
 
LVL 3

Accepted Solution

by:
Matvey earned 10 total points
ID: 1351766
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
 
LVL 1

Expert Comment

by:michaue
ID: 1351767
Well,
What happened, did you get something or should I help you
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1351768
Hmmm, do you have some timeedit?

I really don't knwo what is that and how should it work. -DateEdit is obvious...
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
LVL 3

Author Comment

by:d4jaj1
ID: 1351769
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
 
LVL 3

Expert Comment

by:Matvey
ID: 1351770
bosism@netvision.net.il

You should go to Delphi pages to search... I'll try that...
0
 
LVL 3

Author Comment

by:d4jaj1
ID: 1351771
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
 
LVL 3

Expert Comment

by:Matvey
ID: 1351772
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
 
LVL 3

Expert Comment

by:Matvey
ID: 1351773
Sent you an imroved component...
0
 
LVL 3

Author Comment

by:d4jaj1
ID: 1351774
Adjusted points to 15
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to convert wav to mp3 in delphi 9 219
Downloading email attachments 2 79
Making delphi communicate with a c# service 16 111
Delphi and Access based Enumeration 9 70
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question