Home » U++ Library support » RichText,QTF,RTF... » How do I detect if the data in a RichEdit was changed by user?
How do I detect if the data in a RichEdit was changed by user? [message #53028] |
Wed, 12 February 2020 10:47  |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
I have a RichEdit in a tab, and when the user clicks away I want to save the data if it was changed, but
I cannot determine how to find out if the data was changed.
IsModified() does not seem to work as advertised and I cannot find any other clue.
An obvious way would be to check if it contains undo-dat, but for some reason undo-buffer is
not accessible (why-ever not?) and using PickUndoData() CLEARS the editor (why?)
[Updated on: Wed, 12 February 2020 11:56] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 10:18:34 CEST 2025
Total time taken to generate the page: 0.01316 seconds
|