Print Page | Close Window

TTMSFMXMemo .count issue when pasting

Printed From: TMS Software
Category: FMX Components
Forum Name: FMX General
Forum Discription:
Printed Date: 16 Jun 2019 at 9:12am

Topic: TTMSFMXMemo .count issue when pasting
Posted By: Kraemer Guenter
Subject: TTMSFMXMemo .count issue when pasting
Date Posted: 11 Nov 2018 at 2:58pm
I have a TTMSFMXMemo on a firemonkey form.
I use the OnChangeTracking event to monitor/display the number of lines in the memo.
It works fine when typing or loading lines into the memo, but when I paste from the clipboard (79 lines), the OnChangeTracking event is called and at that moment, the .count or .realcount property of the memo returns only 2. After that, no further OnChangeTracking event is triggered, so the counter which displays the number of lines in the memo shows the wrong amount.

Posted By: Pieter Scheldeman
Date Posted: 12 Nov 2018 at 2:03pm
We are not able to reproduce this issue here. Can you send us a sample that reproduces the issue?

Posted By: Kraemer Guenter
Date Posted: 13 Nov 2018 at 10:20am
I sent an email with an example project. It does the same independent what target platform is selected (Win32/Win64/OSX).

Posted By: Pieter Scheldeman
Date Posted: 14 Nov 2018 at 8:47am

The issue has been fixed and the fix will be available in the next release.

Print Page | Close Window