Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
slashupp is currently offline  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 Smile 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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Does a Ctrl may be a RichObject ?
Next Topic: how to solve WhenEnter event to RichEdit
Goto Forum:
  


Current Time: Tue Apr 16 20:42:22 CEST 2024

Total time taken to generate the page: 0.04353 seconds