Hello!
I encountered an error when setting the EditMask in the OnChange-Handler in the following condition:
- EditMask has a mask for a type of date ("!99.99.9999;1; ")
- The first character is set
- Cursor is on the first character
- I insert something from the clipboard (single digit or a date)
- the code wants to clear the EditMask (set to "")
--> Access violation
It doesnt happen when there is more in the edit or the cursor somewhere else.
Situtation before pasting from clipboard:
-->
("Zugriffsverletzung" = "Access violation")
Here is a simple demo application
EditMaskAccessViolationDemo.zip (56.4 KB)
Thanks for your support.
Regards
Björn
(C++Builder Tokyo, VCL UI Pack 13.5.4.0)