sse
Member²
Hi,
I am encountering a problem with dbedits in Delphi XE allowing the user to type four times (4x's) as many characters in an edit box than allowed.
This is for an al32utf8 database with the underlying structure of the table set to CHAR (not BYTE). It's clear the edit box is using the size of the data and not the length.
Is there a way to fix this so that the number of chars is the limit and not the number of bytes?
- BytesPerCharacter is set to bcAutoDetect.
- I have tried toggling NoUnicodeSupport with no luck.
Someone else had a similar post here. And it was indicated that there is a solution, but it's not posted.
Does anyone have any ideas on how to fix this?
I am encountering a problem with dbedits in Delphi XE allowing the user to type four times (4x's) as many characters in an edit box than allowed.
This is for an al32utf8 database with the underlying structure of the table set to CHAR (not BYTE). It's clear the edit box is using the size of the data and not the length.
Is there a way to fix this so that the number of chars is the limit and not the number of bytes?
- BytesPerCharacter is set to bcAutoDetect.
- I have tried toggling NoUnicodeSupport with no luck.
Someone else had a similar post here. And it was indicated that there is a solution, but it's not posted.
Does anyone have any ideas on how to fix this?
Last edited: