Nic
> Second up:
> TDateTimePicker has to be about the most ugly and useless way to select
> dates - the date selector is fine, but the edit control is, well, crap. I
> want similar functionallity on a TSpeedButton (ie, drop the calendar down,
> allow the user to select a date, hide it again). Anyone know how to make
it
> pop up, ala a pop-up menu? The source is not exactly easy to follow.
>
Re this - I've just spend 2 weeks writing a TDBDateTimePicker that has the
following features
1/ Can stand alone
2/ Floats over grids
3/ Supports time input
4/ Uses Displayforamtformating strings ie dd/MM/yyyy hh:mm:ss
5/ Works on input 'cells' ie dd indicates a day cell which will auto exit
when complete and up arrow down arrow roll
hence you can type a date as 030999 or 3/9/99 (with a display format of
dd/MM/yy)
Downside is that is is based on the softtouch grid engine
www.softtouchdev.com so you'd need this (highly recommended as
a basis for DB Components)
but if you wanted the source and to hackit to base it on a tcustom edit
your'e welcome (you'd loose function 2)
Regards Neven
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz