TMemo enters a new line at insert, exchange methods and lines property
Original Reporter info from Mantis: gyozke
-
Reporter name: Gyozo Horvath
Original Reporter info from Mantis: gyozke
- Reporter name: Gyozo Horvath
Description:
When TMemo is filled up, and you want to change a row in it, the Memox.Lines[y] := 'anything' changes the y. row and then inserts a new line in it. The same behaviour can be achieved if we call the insert or the exchange methods.
Steps to reproduce:
- Fill up a TMemo with 5 lines
- For a Buttonclick write:
Memo1.Lines[2] := 'anything';
Mantis conversion info:
- Mantis ID: 1226
- OS: Windows XP
- Version: 0.9.8
- Fixed in version: 0.9.9 (SVN)
- Fixed in revision: 7842 (#74443943)