TMaskEdit Format ? lazarus / 31-LCL ---------------------------------------------------------------------- majid.ebru · 2017-09-24 05:14 Hi i use TMaskEdit for show data. in PC1 , "FormatSettings.DateSeparator" char is "-" (windows DateSeparator" char is "-") and in PC2  "FormatSettings.DateSeparator" char is "/". i write my code in PC2 and create EXE file. my file work in PC2 and show correctly data (2017/09/24)but in PC1 does't show correctly(__-__-2017) and occur Error? how can i solved it? thank you ---------------------------------------------------------------------- ASerge · 2017-09-24 14:50 Quote from: majid.ebru on September 24, 2017, 07:14:36 amhow can i solved it? Obviously, what to fix the code, especially since you already know where to look for the problem. ---------------------------------------------------------------------- majid.ebru · 2017-09-25 08:38 Hi i have an EXE file. i run it in PC1.when i run it , i see "-" in the MaskEdit . but when i runt it in PC2 , i see "/" in the MaskEdit? Why??!?! i always want to see "/"  in the MaskEdit how can i do that? ---------------------------------------------------------------------- jamie · 2017-09-26 00:15 The Date separator Is part of the OS configuration. You can change there or you can change it directly I guess.  FormatSettings.DateSeparator := '/'; If you don't want to change your settings in the PC then you should be able to do as above during your program initiation steps. ---------------------------------------------------------------------- majid.ebru · 2017-09-26 03:53 Quote from: jamie on September 26, 2017, 02:15:45 am  FormatSettings.DateSeparator := '/'; @jamie Thank you ---------------------------------------------------------------------- PatBayford · 2017-09-26 05:32 By default, these conversions/format operators use the separators set in the OS (the Locale settings). If you need non-standard entries, then you will have to enter them by hand for each control.