The TMemo MODIFIED property does not work correctly like TEDIT does, not Delphi compat!
Original Reporter info from Mantis: jamie @jamie
-
Reporter name: jamie philbrook
Original Reporter info from Mantis: jamie @jamie
- Reporter name: jamie philbrook
Description:
This is a rehash of another report that looks like has been forgotten, most likely due to the lengthy trail of confusing in the report..
With a TEDIT the Modified property is set if USER makes changes not code when the OnChange event is fired.
This allows for code to determine who made the changes. That once was buggy but was fixed however, it never
got carried over to the TMemo which is the same as A TEDIT but multiline.
Attached is a Patch file that was created from the other post but has seem to gotten ignored, at least I have not seen any traction on it.
The patch could be too old, if so I can make one against the current but its a simple two line insertion to use the exiting text feature of the TEDIT since it is part of it.
Additional information:
This effects all widgets.
Mantis conversion info:
- Mantis ID: 38388
- Build: as of this date.
- Version: 2.1 (SVN)
- Fixed in revision: r64420 (#d7de0495)