Home General

Dateformat in Autosearch dialog

edited October 2011 in General
I am using 12.05 with XE. In autosearchdialog the date format is displayed
as dd/mm/yyyy instead of the regional settings dd.mm.yyyy. Any idea where it
takes the date separator, because the sequence is ok (day, month, year.

best regards
eulanda software


  • edited October 2011
    Hi Christian,

    The AutoSearch dialog uses the ppFormatSettings.LongDateFormat or
    ShortDateFormat to format the date inside the dialog. This will be the
    date format based on the machine's locale unless you are changing it
    anywhere in your application. If you are changing it, you will also
    need to change the ppFormatSettings as well.

    For instance...


    DateSeparator := '.';
    ppFormatSettings.DateSeparator := DateSeparator;

    Best Regards,

    Nico Cizik
    Digital Metaphors
This discussion has been closed.