My aim for this component is to end the need for any Delphi developer to have to write another date / time selection utility.
TDateTimeDlg can be configured to select dates, times or date/times.
All buttons in this control can be customised. For example, you can set the button glyphs, captions. These will automatically be resized with the control.
The user can either edit the date/time value in the edit box, depending on the value of the EnableEditor Property
The up and down buttons (if selected) allow the user to increase or decrease the date/time value. The amount that the date/time value is changed, is set by the IncrementBy and IncrementScale properties
The About property provides details about the copyright, the version, and the author.
The user can change the IncrementBy and IncrementScale values by right clicking the mouse over the up or down buttons.
This component is derived from the TEdit control, so it has all properties, events and methods that TEdit has.
TDBDateTimeDlg Component Description
------------------------------------
This component is descended from TDateTimeDlg, and is the data aware version of TDateTimeDlg.
Setting Up the components
-------------------------
1) Create a directory to house the components
2) Extract the contents of the file into this directory
3) Add the components to the components palette (stdcomps.dcu & datetime.dcu). Ensure that you do not have more than one copy of StdComps.
4) Copy the dept.db and personel.db files into the directory for DBDemos (for the demo)
5) Run HelpInst.exe in the help directory in Delphi, add the datetime.kwg file to the list, then save. If you have problems with the location of the datetime.kwg file, you may need to copy them into this directory. If you still have problems, you may need to copy datetime.hlp into the delphi bin directory if you still have problems (as I have).
Once you have done this, you may want to run the demo program to explore the features of the components.
good luck..
About TDateTimeDlg and TDBDateTimeDlg
-------------------------------------
TDateTimeDlg and TDBDateTimeDlg were written by John Stathakis (e-mail: JLSTATH@MAIL.ICON.CO.ZA)
Version: 1.00 (1996, John Stathakis)
You may use this product freely, however, the source code and related documentation may not be changed in any way without the written permission of the author. Please note that the author will not accept responsibility for any loss resulting from the use of this or any other component.
Please contact me if you have any queries or bug reports.
Note: The author is currently available for employment. Please forward enquiries in this regard to the above e-mail address. Preferred destinations in the following order: Australia, United States, United Kingdom. Other destinations will be considered.