Will Delphi TEdit control allows texts containing newline character?

336 Views Asked by At

I am using TEdit in Delphi XE3, as it is a single line control. I don't expect it will allow text with new line character. However, today one of my customer send a file which contains the data from the edit box, which is:

'DN-60C4A18F-53A567CF-2E468912'#$D#$A'DN-60C4A18F-53A567CF-2E468912'

It contains a new line character #$D#$A. How can it be? And how to prevent this from occurring again?

Thanks

0

There are 0 best solutions below