TsDateEdit – EditMask

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33461
    Sereby
    Participant

    hi,

    how to use the TsDateEdit Editmask property correctly?
    i set it to “9999-99-99;1;_” to get for example: 2009-12-15
    but when i start the app and set any value its set to my syslocale default value format (german): 15.12.2009

    how to change this behavior or do i have to format the date later as i need it?

    Regards,
    Sereby

    #41344
    Support
    Keymaster

    Hello
    Standard ShortDateFormat variable (from SysUtils) must be use, EditMask property is not working now (just inherited from parent class).
    So, change ShortDateFormat before creating TsDateEdit components to something like this 'yyyy.MM.DD'

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.