- Bill Asby
- PowerBuilder
- Friday, 7 September 2018 03:57 PM UTC
Hello,
I have inherited a PowerBuilder application. Apologies and condolences accepted. lol. It was migrated from PB12.6 to PB2017 recently.
I am working on a screen that uses an RTE control. I am trying to detect whether or not the RTE contents has changed. When I am testing, for some reason unknown to me, the Modified indicator is falsely indicating that the RTE contents changed even though I did nothing to change them.
I noticed that the existing code uses rte_1.copyRTF() and rte_1.PasteRTF() to initialize the RTE with data from the DW and to write it back before a save. I am guessing that this might be what is setting the modified flag.
Does anybody have any good examples of how to detect when the contents of an RTE truly has changed?
Thanks
Bill
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.