Alan wrote:

>   DFormat :=  'ddd dd/MMM/yyyy';
>   DateTimePicker1.Perform( DTM_SETFORMAT , DWORD(NIL) , DWORD(DFormat)
>   );

Fascinating. On further research with the above hint, I find that if 
there is a dddd or a MMMM in there, or if the dd is made into a 
simple 'd', the fix falls apart and the formatting gets ugly again.

It just can't cope with long day or month names, i.e. any field which 
significantly changes width.  What a truly dumb control.


cheers,
peter

============================================
Peter Hyde, WebCentre Ltd & SPIS Ltd, Christchurch, New Zealand
* Web automation for online periodicals: http://TurboPress.com
* TurboNote+: http://TurboPress.com/tbnote.htm
  -- easy, small, handy onscreen sticky notes
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to