Forum > Designer

Maskedit usage problems

(1/3) > >>

szlbz:
Linux (raspberry OS and other systems with Chinese) uses maskedit and other controls with editmask. When the mask contains / or: (9999/99/; 1; \u) Garbled code occurs during form design, and the compiled program runs normally.

Bart:
The '/' is supposed to be replaced with DefaultFormatSettings.DateSeparator.
The IDE may have problems with that on your Pi?
Just guessing.

Whay happens if you change '/' by either '\/' (escape it with a backslash, if you want a literal '/') or e.g. by '-'?

Bart

szlbz:

--- Quote from: Bart on May 30, 2022, 11:04:51 am ---The '/' is supposed to be replaced with DefaultFormatSettings.DateSeparator.
The IDE may have problems with that on your Pi?
Just guessing.

Whay happens if you change '/' by either '\/' (escape it with a backslash, if you want a literal '/') or e.g. by '-'?

Bart

--- End quote ---
The same problem occurs when using Ubuntu 20.04.4 LTS、LMDE 5 Elsie. It is normal to use other characters

szlbz:
use lazarus 2.2.2

Bart:
Please report in the bugtracker (with screenshots).

Bart

Navigation

[0] Message Index

[#] Next page

Go to full version